Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001669/0.001669, allocations: 202.1 kB / 8.543 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009369/0.0009369, allocations: 86.58 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1735/0.1735, allocations: 45.15 MB / 383.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1922/0.3657, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08702/0.4527, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.8517, allocations: 109.2 MB / 0.6105 GB, free: 9.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.852, allocations: 72.59 kB / 0.6106 GB, free: 9.848 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.762/1.614, allocations: 147.5 MB / 0.7546 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/1.614, allocations: 8.719 kB / 0.7546 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03465/1.649, allocations: 9.098 MB / 0.7635 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/1.666, allocations: 7.671 MB / 0.771 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/1.666, allocations: 227.3 kB / 0.7712 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/1.668, allocations: 423.8 kB / 0.7716 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.013/1.681, allocations: 9.671 MB / 0.7811 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/1.699, allocations: 15.03 MB / 0.7958 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/1.699, allocations: 110 kB / 0.7959 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007823/1.7, allocations: 45.88 kB / 0.7959 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/1.701, allocations: 1.602 MB / 0.7975 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0597/1.761, allocations: 74.45 MB / 0.8702 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006164/1.767, allocations: 5.467 MB / 0.8755 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/1.771, allocations: 3.825 MB / 0.8792 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/1.785, allocations: 10.41 MB / 0.8894 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/1.785, allocations: 65.28 kB / 0.8895 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=223): time 5.44e-06/1.785, allocations: 3.938 kB / 0.8895 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.0476/1.833, allocations: 27.1 MB / 0.9159 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/1.833, allocations: 290.1 kB / 0.9162 GB, free: 71.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/1.839, allocations: 4.917 MB / 0.921 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003973/1.84, allocations: 25.7 kB / 0.921 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.841, allocations: 4.547 MB / 0.9255 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.842, allocations: 0.9832 MB / 0.9264 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/1.843, allocations: 0 / 0.9264 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003389/1.843, allocations: 0.6712 MB / 0.9271 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/1.847, allocations: 2.988 MB / 0.93 GB, free: 58.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005122/1.852, allocations: 8.323 MB / 0.9381 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/1.857, allocations: 4.951 MB / 0.943 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.939e-05/1.858, allocations: 56 kB / 0.943 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.0194/1.877, allocations: 11.08 MB / 0.9539 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.877, allocations: 4 kB / 0.9539 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/1.877, allocations: 194 kB / 0.954 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.88, allocations: 1.325 MB / 0.9553 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/1.887, allocations: 1.995 MB / 0.9573 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.899, allocations: 10.45 MB / 0.9675 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.906, allocations: 271.7 kB / 0.9678 GB, free: 21.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/1.908, allocations: 0.5339 MB / 0.9683 GB, free: 20.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1064): * Single equations (assignments): 1058 * 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.001295/1.909, allocations: 0.5822 MB / 0.9688 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.91, allocations: 0.5013 MB / 0.9693 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008094/1.918, allocations: 5.069 MB / 0.9743 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/1.918, allocations: 26.25 kB / 0.9743 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.918, allocations: 12 kB / 0.9743 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/1.918, allocations: 11.95 kB / 0.9743 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/1.937, allocations: 11.42 MB / 0.9855 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.937, allocations: 4 kB / 0.9855 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.94, allocations: 395.5 kB / 0.9859 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/1.943, allocations: 1.001 MB / 0.9868 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/1.943, allocations: 8 kB / 0.9868 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1683/2.111, allocations: 9.422 MB / 0.9961 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/2.111, allocations: 5.516 kB / 0.9961 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01194/2.123, allocations: 8.836 MB / 1.005 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01417/2.138, allocations: 12.26 MB / 1.017 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/2.139, allocations: 0.5241 MB / 1.017 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008567/2.14, allocations: 9.516 kB / 1.017 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/2.142, allocations: 71.25 kB / 1.017 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/2.142, allocations: 118.2 kB / 1.017 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/2.143, allocations: 69.52 kB / 1.017 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004495/2.147, allocations: 3.334 MB / 1.021 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007593/2.155, allocations: 1.362 MB / 1.022 GB, free: 140.7 MB / 0.5261 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 (201): * Single equations (assignments): 195 * 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.0004686/2.155, allocations: 161.2 kB / 1.022 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01014/2.165, allocations: 7.468 MB / 1.029 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/2.165, allocations: 3.25 kB / 1.029 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003446/2.169, allocations: 2.617 MB / 1.032 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/2.172, allocations: 0.6417 MB / 1.033 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/2.194, allocations: 12.6 MB / 1.045 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006947/2.201, allocations: 5.557 MB / 1.05 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/2.201, allocations: 0 / 1.05 GB, free: 136.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1)