Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [: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.001475/0.001475, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008799/0.0008799, allocations: 90.97 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1606/0.1606, allocations: 45.14 MB / 383.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.68e-06/5.7e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08706, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3713, allocations: 111 MB / 0.6122 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3716, allocations: 79.53 kB / 0.6122 GB, free: 8.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3396/0.7111, allocations: 135.7 MB / 0.7448 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004727/0.7117, allocations: 136 kB / 0.7449 GB, free: 8.387 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02573/0.7374, allocations: 6.96 MB / 0.7517 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.7375, allocations: 12.03 kB / 0.7517 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2102/0.9477, allocations: 6.805 MB / 0.7584 GB, free: 167.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.9626, allocations: 6.692 MB / 0.7649 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.9629, allocations: 230.7 kB / 0.7651 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.9653, allocations: 427.7 kB / 0.7655 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01557/0.9809, allocations: 10.18 MB / 0.7755 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.008, allocations: 15.32 MB / 0.7904 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/1.009, allocations: 87.08 kB / 0.7905 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/1.01, allocations: 44.75 kB / 0.7905 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/1.012, allocations: 1.729 MB / 0.7922 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06651/1.078, allocations: 74.35 MB / 0.8648 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/1.085, allocations: 6.339 MB / 0.871 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/1.089, allocations: 4.131 MB / 0.8751 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.105, allocations: 11.23 MB / 0.886 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/1.105, allocations: 66.06 kB / 0.8861 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=250): time 4.709e-06/1.105, allocations: 0 / 0.8861 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=292): time 0.05078/1.156, allocations: 26.81 MB / 0.9123 GB, free: 77.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.156, allocations: 234.8 kB / 0.9125 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/1.162, allocations: 4.826 MB / 0.9172 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007258/1.163, allocations: 29.7 kB / 0.9172 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/1.165, allocations: 4.578 MB / 0.9217 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.166, allocations: 1.082 MB / 0.9228 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/1.167, allocations: 0 / 0.9228 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003472/1.167, allocations: 0.6925 MB / 0.9234 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.171, allocations: 3.386 MB / 0.9267 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005381/1.176, allocations: 8.704 MB / 0.9352 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/1.182, allocations: 5.402 MB / 0.9405 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-05/1.182, allocations: 56 kB / 0.9406 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.02053/1.203, allocations: 12.2 MB / 0.9525 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.203, allocations: 8.031 kB / 0.9525 GB, free: 38.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/1.203, allocations: 190.8 kB / 0.9527 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003843/1.207, allocations: 1.631 MB / 0.9543 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007786/1.215, allocations: 2.141 MB / 0.9564 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/1.227, allocations: 10.39 MB / 0.9665 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00734/1.235, allocations: 286.7 kB / 0.9668 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/1.236, allocations: 0.5381 MB / 0.9673 GB, free: 25.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 77 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1114): * Single equations (assignments): 1109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001556/1.238, allocations: 0.5816 MB / 0.9679 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009838/1.239, allocations: 0.5059 MB / 0.9684 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/1.249, allocations: 6.178 MB / 0.9744 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-05/1.249, allocations: 28 kB / 0.9744 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/1.249, allocations: 15.88 kB / 0.9744 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/1.249, allocations: 11.95 kB / 0.9745 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.272, allocations: 13.22 MB / 0.9874 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.272, allocations: 0 / 0.9874 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/1.275, allocations: 0.4993 MB / 0.9879 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/1.278, allocations: 1.326 MB / 0.9891 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/1.278, allocations: 8 kB / 0.9892 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1996/1.478, allocations: 9.642 MB / 0.9986 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.478, allocations: 3.969 kB / 0.9986 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01335/1.491, allocations: 10.43 MB / 1.009 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.493, allocations: 0.5229 MB / 1.009 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008168/1.493, allocations: 3.719 kB / 1.009 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.496, allocations: 95.11 kB / 1.009 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/1.496, allocations: 131.3 kB / 1.009 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/1.496, allocations: 74.66 kB / 1.01 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004203/1.5, allocations: 3.246 MB / 1.013 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007644/1.508, allocations: 1.416 MB / 1.014 GB, free: 144.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (234): * Single equations (assignments): 229 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0007179/1.509, allocations: 158.8 kB / 1.014 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.522, allocations: 8.326 MB / 1.022 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.522, allocations: 0 / 1.022 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005523/1.528, allocations: 3.117 MB / 1.025 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.532, allocations: 0.5706 MB / 1.026 GB, free: 144 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/1.563, allocations: 13.19 MB / 1.039 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01046/1.573, allocations: 5.574 MB / 1.044 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/1.573, allocations: 0 / 1.044 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1191/1.693, allocations: 61.56 MB / 1.104 GB, free: 119.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches