Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.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.Force2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2",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.001183/0.001183, allocations: 188.8 kB / 7.802 MB, free: 2.488 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.537/1.537, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009523/0.0009522, allocations: 96.11 kB / 261.4 MB, free: 13.61 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.2191/0.2191, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2244/0.4435, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.7768, allocations: 58.83 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.9278, allocations: 110.8 MB / 0.5737 GB, free: 4.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.9282, allocations: 75.45 kB / 0.5737 GB, free: 4.016 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: 4389 * Number of variables: 4389 Notification: Performance of Generate backend data structure: time 0.8277/1.756, allocations: 242.7 MB / 0.8107 GB, free: 10.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.756, allocations: 12 kB / 0.8107 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4076/2.163, allocations: 12.35 MB / 0.8228 GB, free: 86.73 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03535/2.199, allocations: 13.37 MB / 0.8359 GB, free: 86.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008136/2.2, allocations: 411.5 kB / 0.8362 GB, free: 86.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005813/2.206, allocations: 0.7386 MB / 0.837 GB, free: 86.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03504/2.241, allocations: 18 MB / 0.8545 GB, free: 86.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06141/2.302, allocations: 26.34 MB / 0.8803 GB, free: 80.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009968/2.303, allocations: 146.7 kB / 0.8804 GB, free: 80.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005949/2.309, allocations: 63.59 kB / 0.8805 GB, free: 80.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004871/2.314, allocations: 3.042 MB / 0.8834 GB, free: 80.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1549/2.469, allocations: 123.5 MB / 1.004 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2155/2.684, allocations: 11.63 MB / 1.015 GB, free: 98.23 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008261/2.693, allocations: 8.319 MB / 1.024 GB, free: 98.16 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/2.724, allocations: 22.7 MB / 1.046 GB, free: 94.53 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/2.725, allocations: 91.75 kB / 1.046 GB, free: 94.48 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=514): time 7.645e-06/2.725, allocations: 3.719 kB / 1.046 GB, free: 94.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=598): time 0.1173/2.842, allocations: 57.47 MB / 1.102 GB, free: 82.75 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/2.842, allocations: 380.1 kB / 1.102 GB, free: 82.37 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01872/2.861, allocations: 8.214 MB / 1.11 GB, free: 79.54 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001926/2.863, allocations: 25.7 kB / 1.11 GB, free: 79.51 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005941/2.869, allocations: 7.734 MB / 1.118 GB, free: 73.66 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003721/2.872, allocations: 2.152 MB / 1.12 GB, free: 72.05 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002692/2.875, allocations: 0 / 1.12 GB, free: 72.05 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001177/2.876, allocations: 0.9725 MB / 1.121 GB, free: 71.46 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01175/2.888, allocations: 6.572 MB / 1.127 GB, free: 69.14 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01648/2.905, allocations: 15.05 MB / 1.142 GB, free: 55.47 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01623/2.921, allocations: 9.882 MB / 1.152 GB, free: 51 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003839/2.921, allocations: 84 kB / 1.152 GB, free: 50.92 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2040) (initialization): time 0.04583/2.967, allocations: 22.56 MB / 1.174 GB, free: 32.73 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/2.967, allocations: 8 kB / 1.174 GB, free: 32.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003764/2.968, allocations: 300 kB / 1.174 GB, free: 32.43 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008098/2.976, allocations: 3.119 MB / 1.177 GB, free: 30.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/2.991, allocations: 3.71 MB / 1.181 GB, free: 26.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2583/3.249, allocations: 20.44 MB / 1.201 GB, free: 74.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/3.265, allocations: 0.5121 MB / 1.201 GB, free: 74.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004454/3.269, allocations: 0.9008 MB / 1.202 GB, free: 74.86 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1368 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1922): * Single equations (assignments): 1915 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 20,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006098/3.275, allocations: 0.8831 MB / 1.203 GB, free: 74.73 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003282/3.279, allocations: 0.8965 MB / 1.204 GB, free: 74.73 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02708/3.306, allocations: 13.47 MB / 1.217 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001372/3.306, allocations: 58.38 kB / 1.217 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.038e-05/3.306, allocations: 17.03 kB / 1.217 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001557/3.306, allocations: 28.03 kB / 1.217 GB, free: 74.51 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0611/3.367, allocations: 27.36 MB / 1.244 GB, free: 73.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-05/3.368, allocations: 0 / 1.244 GB, free: 73.58 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007357/3.375, allocations: 1.066 MB / 1.245 GB, free: 73.58 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007349/3.382, allocations: 2.614 MB / 1.247 GB, free: 73.54 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001884/3.384, allocations: 14.64 kB / 1.247 GB, free: 73.54 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0248/3.409, allocations: 19.14 MB / 1.266 GB, free: 66.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/3.409, allocations: 5.359 kB / 1.266 GB, free: 66.04 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03694/3.446, allocations: 21.71 MB / 1.287 GB, free: 58.14 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04792/3.494, allocations: 30.03 MB / 1.317 GB, free: 43.84 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006612/3.501, allocations: 1.884 MB / 1.318 GB, free: 42.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00355/3.504, allocations: 8 kB / 1.318 GB, free: 42.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007859/3.512, allocations: 218.4 kB / 1.319 GB, free: 41.98 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/3.514, allocations: 282.2 kB / 1.319 GB, free: 41.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007784/3.515, allocations: 146 kB / 1.319 GB, free: 41.69 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.01357/3.528, allocations: 5.577 MB / 1.325 GB, free: 36.87 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01982/3.548, allocations: 2.623 MB / 1.327 GB, free: 34.26 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (511): * Single equations (assignments): 504 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/3.55, allocations: 180.7 kB / 1.327 GB, free: 34.14 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02861/3.579, allocations: 16.16 MB / 1.343 GB, free: 20.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/3.579, allocations: 0 / 1.343 GB, free: 20.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01101/3.59, allocations: 6.596 MB / 1.35 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008877/3.599, allocations: 0.9308 MB / 1.35 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3067/3.905, allocations: 24.91 MB / 1.375 GB, free: 79.12 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02416/3.93, allocations: 9.516 MB / 1.384 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of SimCode: time 1.232e-06/3.93, allocations: 0 / 1.384 GB, free: 78.09 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force2.pipe 2>&1)