Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002025/0.002026, allocations: 185.3 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009942/0.0009941, allocations: 86.28 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1886/0.1886, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.3918, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.7368, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.8888, allocations: 103.9 MB / 0.567 GB, free: 10.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.8892, allocations: 87.11 kB / 0.5671 GB, free: 10.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.5961/1.485, allocations: 113.5 MB / 0.678 GB, free: 82.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.485, allocations: 10.22 kB / 0.678 GB, free: 82.29 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/1.522, allocations: 10.03 MB / 0.6878 GB, free: 81.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02924/1.551, allocations: 9.951 MB / 0.6975 GB, free: 80.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008594/1.552, allocations: 215.8 kB / 0.6977 GB, free: 80.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003461/1.556, allocations: 293.1 kB / 0.698 GB, free: 80.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01652/1.572, allocations: 6.623 MB / 0.7044 GB, free: 79.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/1.595, allocations: 9.207 MB / 0.7134 GB, free: 72.53 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005319/1.596, allocations: 57.8 kB / 0.7135 GB, free: 72.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002588/1.598, allocations: 20 kB / 0.7135 GB, free: 72.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/1.601, allocations: 1.084 MB / 0.7146 GB, free: 71.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06637/1.667, allocations: 45.05 MB / 0.7586 GB, free: 29.26 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/1.675, allocations: 5.853 MB / 0.7643 GB, free: 23.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00591/1.681, allocations: 5.448 MB / 0.7696 GB, free: 17.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02194/1.703, allocations: 13.97 MB / 0.7832 GB, free: 3.648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/1.703, allocations: 68.81 kB / 0.7833 GB, free: 3.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 5.56e-06/1.703, allocations: 4.031 kB / 0.7833 GB, free: 3.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=396): time 0.3517/2.054, allocations: 52.68 MB / 0.8348 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/2.055, allocations: 200.5 kB / 0.835 GB, free: 189.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/2.06, allocations: 3.295 MB / 0.8382 GB, free: 189 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009526/2.061, allocations: 28.89 kB / 0.8382 GB, free: 188.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/2.062, allocations: 2.342 MB / 0.8405 GB, free: 188.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/2.063, allocations: 1.319 MB / 0.8418 GB, free: 188 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/2.064, allocations: 0 / 0.8418 GB, free: 188 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000243/2.064, allocations: 0.5259 MB / 0.8423 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004944/2.069, allocations: 4.059 MB / 0.8463 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005587/2.075, allocations: 6.053 MB / 0.8522 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006068/2.081, allocations: 5.027 MB / 0.8571 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/2.081, allocations: 22.09 kB / 0.8571 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=702) (initialization): time 0.03331/2.114, allocations: 16.54 MB / 0.8732 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/2.114, allocations: 3.625 kB / 0.8733 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.358e-05/2.114, allocations: 67.53 kB / 0.8733 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02389/2.138, allocations: 7.866 MB / 0.881 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/2.142, allocations: 0.987 MB / 0.882 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05721/2.2, allocations: 42.76 MB / 0.9237 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00592/2.206, allocations: 261.8 kB / 0.924 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/2.207, allocations: 274.5 kB / 0.9242 GB, free: 155.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 507 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(14,44.4%) 101,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001232/2.208, allocations: 318.5 kB / 0.9245 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/2.21, allocations: 461.7 kB / 0.925 GB, free: 155 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03/2.24, allocations: 15.74 MB / 0.9404 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02945/2.269, allocations: 14.42 MB / 0.9544 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.165e-05/2.269, allocations: 31.94 kB / 0.9545 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.115e-05/2.269, allocations: 15.94 kB / 0.9545 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05313/2.322, allocations: 31.82 MB / 0.9856 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/2.323, allocations: 7 kB / 0.9856 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/2.325, allocations: 395.4 kB / 0.9859 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02262/2.347, allocations: 7.562 MB / 0.9933 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009723/2.348, allocations: 15.98 kB / 0.9933 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0528/2.401, allocations: 42.29 MB / 1.035 GB, free: 48.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01169/2.413, allocations: 8.68 MB / 1.043 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03739/2.45, allocations: 21.8 MB / 1.064 GB, free: 17.19 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2641/2.714, allocations: 28.64 MB / 1.092 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004052/2.719, allocations: 1.285 MB / 1.094 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001693/2.72, allocations: 14.02 kB / 1.094 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003802/2.724, allocations: 178.1 kB / 1.094 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006457/2.725, allocations: 208.8 kB / 1.094 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003656/2.725, allocations: 99.45 kB / 1.094 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.004158/2.729, allocations: 2.394 MB / 1.096 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009876/2.739, allocations: 1.614 MB / 1.098 GB, free: 175.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009648/2.74, allocations: 126.7 kB / 1.098 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01901/2.759, allocations: 10.72 MB / 1.109 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.759, allocations: 2.094 kB / 1.109 GB, free: 173.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.771, allocations: 5.918 MB / 1.114 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/2.777, allocations: 0.5944 MB / 1.115 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/2.81, allocations: 13.06 MB / 1.128 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007402/2.817, allocations: 4.435 MB / 1.132 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/2.817, allocations: 0 / 1.132 GB, free: 164.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)