Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",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.001145/0.001145, allocations: 191.7 kB / 7.807 MB, free: 2.453 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.391/1.391, 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.001023/0.001023, allocations: 92.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.2471/0.2471, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2767/0.5239, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.9214, allocations: 58.84 MB / 476.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/1.08, allocations: 108 MB / 0.5709 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.08, allocations: 75.47 kB / 0.571 GB, free: 6.945 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.7197/1.8, allocations: 155.2 MB / 0.7226 GB, free: 83.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.8, allocations: 11.98 kB / 0.7226 GB, free: 83.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03828/1.838, allocations: 9.227 MB / 0.7316 GB, free: 74.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02778/1.866, allocations: 9.227 MB / 0.7406 GB, free: 65.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008013/1.867, allocations: 256 kB / 0.7408 GB, free: 64.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006121/1.873, allocations: 467.7 kB / 0.7413 GB, free: 64.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02569/1.899, allocations: 10.79 MB / 0.7518 GB, free: 53.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04592/1.945, allocations: 16.48 MB / 0.7679 GB, free: 35.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008852/1.946, allocations: 114.9 kB / 0.768 GB, free: 35.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00545/1.951, allocations: 48 kB / 0.7681 GB, free: 35.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003372/1.955, allocations: 1.82 MB / 0.7699 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.514/2.469, allocations: 79.4 MB / 0.8474 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008612/2.478, allocations: 6.294 MB / 0.8535 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005686/2.483, allocations: 4.427 MB / 0.8579 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02351/2.507, allocations: 11.97 MB / 0.8696 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.18e-05/2.507, allocations: 71.62 kB / 0.8696 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 1.054e-05/2.507, allocations: 0 / 0.8696 GB, free: 107.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=337): time 0.07382/2.581, allocations: 30.26 MB / 0.8992 GB, free: 98.24 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.581, allocations: 297.3 kB / 0.8995 GB, free: 97.93 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01436/2.595, allocations: 5.207 MB / 0.9045 GB, free: 96 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/2.596, allocations: 25.7 kB / 0.9046 GB, free: 95.97 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004487/2.601, allocations: 4.943 MB / 0.9094 GB, free: 92.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002756/2.604, allocations: 1.237 MB / 0.9106 GB, free: 91.29 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/2.605, allocations: 0 / 0.9106 GB, free: 91.29 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0007009/2.606, allocations: 0.7269 MB / 0.9113 GB, free: 90.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006756/2.613, allocations: 3.596 MB / 0.9148 GB, free: 89.54 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/2.623, allocations: 9.395 MB / 0.924 GB, free: 80.46 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/2.634, allocations: 5.776 MB / 0.9296 GB, free: 78.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002586/2.634, allocations: 61.41 kB / 0.9297 GB, free: 78.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.0319/2.666, allocations: 12.75 MB / 0.9421 GB, free: 70.01 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/2.666, allocations: 8 kB / 0.9421 GB, free: 70 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005567/2.667, allocations: 207.9 kB / 0.9423 GB, free: 69.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/2.671, allocations: 1.351 MB / 0.9437 GB, free: 68.71 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008977/2.68, allocations: 2.282 MB / 0.9459 GB, free: 66.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/2.693, allocations: 10.49 MB / 0.9561 GB, free: 57.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/2.703, allocations: 307.2 kB / 0.9564 GB, free: 56.8 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/2.706, allocations: 0.5845 MB / 0.957 GB, free: 56.23 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 944 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1208 * Array equations: 3 * 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: 3 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003668/2.71, allocations: 0.6289 MB / 0.9576 GB, free: 55.61 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002027/2.712, allocations: 0.5589 MB / 0.9582 GB, free: 55.05 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/2.724, allocations: 6.418 MB / 0.9644 GB, free: 49.77 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.942e-05/2.724, allocations: 32 kB / 0.9645 GB, free: 49.74 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-05/2.724, allocations: 8 kB / 0.9645 GB, free: 49.73 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-05/2.724, allocations: 21.77 kB / 0.9645 GB, free: 49.73 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03232/2.756, allocations: 13.76 MB / 0.9779 GB, free: 38.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/2.757, allocations: 11.94 kB / 0.9779 GB, free: 38.52 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003476/2.76, allocations: 0.5411 MB / 0.9785 GB, free: 38.07 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/2.763, allocations: 1.001 MB / 0.9794 GB, free: 37.33 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007167/2.764, allocations: 11.42 kB / 0.9795 GB, free: 37.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/2.775, allocations: 9.503 MB / 0.9887 GB, free: 28.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/2.775, allocations: 4 kB / 0.9887 GB, free: 28.43 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0186/2.793, allocations: 11.02 MB / 0.9995 GB, free: 18.61 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02125/2.815, allocations: 15.39 MB / 1.015 GB, free: 4.816 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/2.818, allocations: 1.075 MB / 1.016 GB, free: 3.812 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/2.821, allocations: 3.906 kB / 1.016 GB, free: 3.809 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004233/2.825, allocations: 98.34 kB / 1.016 GB, free: 3.75 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007343/2.826, allocations: 160.4 kB / 1.016 GB, free: 3.656 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004877/2.826, allocations: 87.94 kB / 1.016 GB, free: 3.574 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.008453/2.835, allocations: 3.529 MB / 1.019 GB, free: 0.4961 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.2389/3.074, allocations: 1.749 MB / 1.021 GB, free: 143.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 277 * Array equations: 3 * 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: 3 {(1,100.0%) 10,(1,100.0%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/3.075, allocations: 161.5 kB / 1.021 GB, free: 143.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01473/3.09, allocations: 8.934 MB / 1.03 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/3.09, allocations: 3.969 kB / 1.03 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005298/3.095, allocations: 3.344 MB / 1.033 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/3.1, allocations: 0.6065 MB / 1.034 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/3.138, allocations: 14.33 MB / 1.048 GB, free: 140.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01281/3.151, allocations: 6.081 MB / 1.054 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.332e-06/3.151, allocations: 3.812 kB / 1.054 GB, free: 139.7 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)