Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,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.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,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.WorldTorques") [: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.001279/0.001279, allocations: 193.1 kB / 8.539 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009385/0.0009385, allocations: 89.66 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1779/0.1779, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.235e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4885, allocations: 107.2 MB / 0.6084 GB, free: 12.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.4888, allocations: 72.03 kB / 0.6085 GB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3344/0.8232, allocations: 132.2 MB / 0.7376 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006025/0.8239, allocations: 135.9 kB / 0.7378 GB, free: 15.68 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02322/0.8471, allocations: 6.375 MB / 0.744 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.712e-05/0.8472, allocations: 8.031 kB / 0.744 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03815/0.8854, allocations: 9.053 MB / 0.7528 GB, free: 152 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3358/1.221, allocations: 7.401 MB / 0.7601 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004452/1.222, allocations: 208.3 kB / 0.7603 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003607/1.225, allocations: 384.8 kB / 0.7606 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01724/1.243, allocations: 8.762 MB / 0.7692 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/1.271, allocations: 13.6 MB / 0.7825 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/1.272, allocations: 97.45 kB / 0.7826 GB, free: 84.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002047/1.274, allocations: 40.38 kB / 0.7826 GB, free: 84.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/1.276, allocations: 1.448 MB / 0.784 GB, free: 84.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06829/1.344, allocations: 66.61 MB / 0.8491 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/1.349, allocations: 4.41 MB / 0.8534 GB, free: 43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/1.352, allocations: 2.937 MB / 0.8562 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/1.365, allocations: 8.531 MB / 0.8646 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/1.365, allocations: 57.38 kB / 0.8646 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=180): time 4.959e-06/1.365, allocations: 0 / 0.8646 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=201): time 0.04336/1.408, allocations: 21.12 MB / 0.8852 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.408, allocations: 252.1 kB / 0.8855 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/1.418, allocations: 4.731 MB / 0.8901 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004765/1.418, allocations: 25.7 kB / 0.8901 GB, free: 25.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002874/1.421, allocations: 4.263 MB / 0.8943 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.422, allocations: 0.7865 MB / 0.8951 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/1.423, allocations: 0 / 0.8951 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003516/1.423, allocations: 0.6388 MB / 0.8957 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/1.426, allocations: 2.363 MB / 0.898 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/1.431, allocations: 7.395 MB / 0.9052 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/1.436, allocations: 4.179 MB / 0.9093 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/1.436, allocations: 52 kB / 0.9093 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.01872/1.455, allocations: 9.106 MB / 0.9182 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.455, allocations: 4 kB / 0.9182 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002995/1.455, allocations: 180 kB / 0.9184 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/1.458, allocations: 0.8194 MB / 0.9192 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00689/1.465, allocations: 1.798 MB / 0.921 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.475, allocations: 8.041 MB / 0.9288 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/1.483, allocations: 241.8 kB / 0.9291 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.485, allocations: 0.492 MB / 0.9295 GB, free: 3.238 MB / 0.5417 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 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (966): * Single equations (assignments): 960 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002343/1.487, allocations: 0.5537 MB / 0.9301 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.489, allocations: 484.9 kB / 0.9305 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00794/1.497, allocations: 3.375 MB / 0.9338 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-05/1.497, allocations: 16 kB / 0.9338 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/1.497, allocations: 11.83 kB / 0.9339 GB, free: 15.68 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.497, allocations: 11.17 kB / 0.9339 GB, free: 15.68 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/1.519, allocations: 8.223 MB / 0.9419 GB, free: 8.992 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/1.519, allocations: 0 / 0.9419 GB, free: 8.992 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.521, allocations: 297.7 kB / 0.9422 GB, free: 8.746 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/1.523, allocations: 0.5184 MB / 0.9427 GB, free: 8.344 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/1.523, allocations: 15.83 kB / 0.9427 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008817/1.532, allocations: 7.142 MB / 0.9497 GB, free: 1.457 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.532, allocations: 10.41 kB / 0.9497 GB, free: 1.449 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01011/1.542, allocations: 6.155 MB / 0.9557 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.544, allocations: 0.4969 MB / 0.9562 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.545, allocations: 0 / 0.9562 GB, free: 11.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.548, allocations: 71.69 kB / 0.9563 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/1.548, allocations: 105.2 kB / 0.9564 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.548, allocations: 48 kB / 0.9564 GB, free: 11.51 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.006815/1.555, allocations: 3.215 MB / 0.9595 GB, free: 8.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008686/1.564, allocations: 1.187 MB / 0.9607 GB, free: 7.555 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (150): * Single equations (assignments): 144 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006983/1.564, allocations: 156.2 kB / 0.9608 GB, free: 7.406 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.575, allocations: 5.915 MB / 0.9666 GB, free: 2.047 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.575, allocations: 0 / 0.9666 GB, free: 2.047 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002896/1.578, allocations: 1.865 MB / 0.9684 GB, free: 340 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.584, allocations: 0.666 MB / 0.9691 GB, free: 0 / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2449/1.828, allocations: 10.9 MB / 0.9797 GB, free: 198.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00888/1.837, allocations: 5.157 MB / 0.9848 GB, free: 197.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/1.837, allocations: 2.531 kB / 0.9848 GB, free: 197.7 MB / 0.573 GB Notification: Performance of Templates: time 0.09289/1.93, allocations: 47.67 MB / 1.031 GB, free: 195.3 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches