Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") [: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.001133/0.001133, allocations: 206.1 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.222/1.222, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009096/0.0009095, allocations: 98.89 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1888/0.1888, allocations: 45.14 MB / 383.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.935e-06, allocations: 3.938 kB / 452.6 MB, free: 76.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4968, allocations: 107.2 MB / 0.6085 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4971, allocations: 73.22 kB / 0.6085 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3422/0.8393, allocations: 131.8 MB / 0.7372 GB, free: 164 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006838/0.8401, allocations: 135.9 kB / 0.7373 GB, free: 28 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02526/0.8654, allocations: 6.351 MB / 0.7436 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.8654, allocations: 8.031 kB / 0.7436 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03784/0.9033, allocations: 9.026 MB / 0.7524 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2324/1.136, allocations: 7.399 MB / 0.7596 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/1.136, allocations: 208.1 kB / 0.7598 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/1.138, allocations: 390.6 kB / 0.7602 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01423/1.153, allocations: 8.699 MB / 0.7687 GB, free: 171.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/1.177, allocations: 13.56 MB / 0.7819 GB, free: 167.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/1.177, allocations: 101 kB / 0.782 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/1.178, allocations: 43.34 kB / 0.782 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/1.18, allocations: 1.442 MB / 0.7835 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06199/1.242, allocations: 66.51 MB / 0.8484 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/1.248, allocations: 4.47 MB / 0.8528 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/1.251, allocations: 2.977 MB / 0.8557 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01277/1.264, allocations: 8.61 MB / 0.8641 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.264, allocations: 55.34 kB / 0.8641 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=184): time 4.308e-06/1.264, allocations: 0 / 0.8641 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=205): time 0.03843/1.302, allocations: 21.07 MB / 0.8847 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.302, allocations: 258.4 kB / 0.885 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006385/1.309, allocations: 4.708 MB / 0.8896 GB, free: 98.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003578/1.309, allocations: 29.7 kB / 0.8896 GB, free: 98.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.311, allocations: 4.247 MB / 0.8937 GB, free: 94.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007895/1.312, allocations: 0.794 MB / 0.8945 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.312, allocations: 0 / 0.8945 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003357/1.312, allocations: 0.6457 MB / 0.8951 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/1.315, allocations: 2.361 MB / 0.8974 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004722/1.32, allocations: 7.387 MB / 0.9047 GB, free: 81.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.325, allocations: 4.18 MB / 0.9087 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.004e-05/1.325, allocations: 52 kB / 0.9088 GB, free: 78.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.01453/1.34, allocations: 9.077 MB / 0.9177 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.34, allocations: 4 kB / 0.9177 GB, free: 70.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.34, allocations: 180 kB / 0.9178 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/1.342, allocations: 0.7962 MB / 0.9186 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005893/1.348, allocations: 1.783 MB / 0.9204 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007578/1.356, allocations: 7.831 MB / 0.928 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006607/1.362, allocations: 237.6 kB / 0.9282 GB, free: 60.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.364, allocations: 499.2 kB / 0.9287 GB, free: 59.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (973): * Single equations (assignments): 967 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.365, allocations: 0.5519 MB / 0.9292 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009925/1.366, allocations: 489.7 kB / 0.9297 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/1.371, allocations: 3.256 MB / 0.9329 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/1.371, allocations: 20 kB / 0.9329 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.371, allocations: 8 kB / 0.9329 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.371, allocations: 14.25 kB / 0.9329 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.388, allocations: 8.203 MB / 0.9409 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/1.388, allocations: 7.688 kB / 0.9409 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.39, allocations: 272.3 kB / 0.9412 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/1.391, allocations: 0.503 MB / 0.9417 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.391, allocations: 7.609 kB / 0.9417 GB, free: 48.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006375/1.398, allocations: 6.925 MB / 0.9485 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.398, allocations: 0 / 0.9485 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007692/1.405, allocations: 6.081 MB / 0.9544 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.407, allocations: 0.5011 MB / 0.9549 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/1.408, allocations: 0 / 0.9549 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.41, allocations: 61.75 kB / 0.955 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.41, allocations: 86.91 kB / 0.955 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.41, allocations: 63.5 kB / 0.9551 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005606/1.416, allocations: 3.194 MB / 0.9582 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008221/1.424, allocations: 1.189 MB / 0.9594 GB, free: 31.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 151 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/1.425, allocations: 149 kB / 0.9595 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008617/1.434, allocations: 5.891 MB / 0.9653 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.434, allocations: 3.938 kB / 0.9653 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.436, allocations: 1.817 MB / 0.9671 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.439, allocations: 0.6011 MB / 0.9676 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02496/1.464, allocations: 10.9 MB / 0.9783 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007658/1.472, allocations: 5.135 MB / 0.9833 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/1.472, allocations: 0 / 0.9833 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.3552/1.827, allocations: 47.73 MB / 1.03 GB, free: 144.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches