Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") [: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.001996/0.001996, allocations: 200.2 kB / 8.538 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 225.5 MB / 234.4 MB, free: 9.473 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009028/0.0009028, allocations: 98.16 kB / 286.3 MB, free: 5.848 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.15 MB / 383.3 MB, free: 4.895 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/9.999e-06, allocations: 4 kB / 452.6 MB, free: 48.32 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 63.24 MB / 0.5038 GB, free: 1.016 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4586, allocations: 109.7 MB / 0.6109 GB, free: 10.13 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4588, allocations: 83.94 kB / 0.611 GB, free: 10.05 MB / 434.8 MB Notification: Performance of FrontEnd: time 0.5052/0.964, allocations: 125.8 MB / 0.7338 GB, free: 113.1 MB / 0.5027 GB Notification: Performance of Transformations before backend: time 0.0003458/0.9644, allocations: 122.5 kB / 0.7339 GB, free: 113.1 MB / 0.5027 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.02239/0.9868, allocations: 6.353 MB / 0.7401 GB, free: 110.6 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9869, allocations: 10.91 kB / 0.7402 GB, free: 110.6 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/1.014, allocations: 6.676 MB / 0.7467 GB, free: 110.1 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.031, allocations: 6.347 MB / 0.7529 GB, free: 109.2 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/1.031, allocations: 202.1 kB / 0.7531 GB, free: 109.2 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/1.034, allocations: 369.5 kB / 0.7534 GB, free: 109.2 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0162/1.05, allocations: 8.987 MB / 0.7622 GB, free: 106.1 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/1.078, allocations: 13.68 MB / 0.7756 GB, free: 98.93 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/1.078, allocations: 82.45 kB / 0.7756 GB, free: 98.88 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.079, allocations: 39.59 kB / 0.7757 GB, free: 98.88 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/1.081, allocations: 1.513 MB / 0.7771 GB, free: 98.61 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06913/1.15, allocations: 65.9 MB / 0.8415 GB, free: 35.92 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/1.156, allocations: 5.173 MB / 0.8466 GB, free: 30.6 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/1.159, allocations: 3.509 MB / 0.85 GB, free: 27.09 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/1.171, allocations: 8.93 MB / 0.8587 GB, free: 18.05 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.171, allocations: 63.94 kB / 0.8588 GB, free: 17.98 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=218): time 4.539e-06/1.171, allocations: 0 / 0.8588 GB, free: 17.98 MB / 0.5027 GB Notification: Performance of matching and sorting (n=260): time 0.04997/1.221, allocations: 24.21 MB / 0.8824 GB, free: 9.605 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.221, allocations: 235.4 kB / 0.8826 GB, free: 9.328 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007894/1.229, allocations: 4.316 MB / 0.8868 GB, free: 5.02 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 0.0009319/1.23, allocations: 25.7 kB / 0.8869 GB, free: 4.988 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.233, allocations: 4.102 MB / 0.8909 GB, free: 0.8242 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 0.1907/1.423, allocations: 0.9664 MB / 0.8918 GB, free: 176.7 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.425, allocations: 0 / 0.8918 GB, free: 176.7 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.0004918/1.426, allocations: 0.6443 MB / 0.8924 GB, free: 176.4 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004334/1.43, allocations: 3.052 MB / 0.8954 GB, free: 176.3 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/1.436, allocations: 7.83 MB / 0.9031 GB, free: 170.1 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006185/1.443, allocations: 4.849 MB / 0.9078 GB, free: 170.1 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.443, allocations: 52.34 kB / 0.9079 GB, free: 170.1 MB / 0.5183 GB Notification: Performance of matching and sorting (n=1056) (initialization): time 0.02123/1.464, allocations: 11.09 MB / 0.9187 GB, free: 169.6 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.464, allocations: 9.031 kB / 0.9187 GB, free: 169.6 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003405/1.464, allocations: 171.9 kB / 0.9189 GB, free: 169.6 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/1.469, allocations: 1.595 MB / 0.9204 GB, free: 169.5 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007264/1.476, allocations: 1.865 MB / 0.9222 GB, free: 169.4 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.489, allocations: 10.36 MB / 0.9324 GB, free: 165 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007494/1.497, allocations: 249.6 kB / 0.9326 GB, free: 165 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/1.499, allocations: 498.1 kB / 0.9331 GB, free: 164.9 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (984): * Single equations (assignments): 979 * 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.00219/1.501, allocations: 0.537 MB / 0.9336 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.502, allocations: 461.7 kB / 0.934 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0094/1.512, allocations: 5.715 MB / 0.9396 GB, free: 162.7 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.961e-05/1.512, allocations: 22.75 kB / 0.9396 GB, free: 162.7 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.616e-05/1.512, allocations: 9.344 kB / 0.9396 GB, free: 162.7 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/1.512, allocations: 13.05 kB / 0.9397 GB, free: 162.7 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/1.536, allocations: 12.07 MB / 0.9514 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.536, allocations: 0 / 0.9514 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.538, allocations: 418.8 kB / 0.9518 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004066/1.543, allocations: 1.325 MB / 0.9531 GB, free: 158.3 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007202/1.543, allocations: 8.594 kB / 0.9531 GB, free: 158.3 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.557, allocations: 9.65 MB / 0.9626 GB, free: 153.3 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.557, allocations: 1.312 kB / 0.9626 GB, free: 153.3 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01415/1.571, allocations: 9.645 MB / 0.972 GB, free: 147.2 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/1.573, allocations: 485.8 kB / 0.9725 GB, free: 146.8 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/1.574, allocations: 7.75 kB / 0.9725 GB, free: 146.8 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.576, allocations: 88.08 kB / 0.9725 GB, free: 146.7 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/1.576, allocations: 111.2 kB / 0.9726 GB, free: 146.6 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.576, allocations: 72.89 kB / 0.9727 GB, free: 146.6 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.004346/1.581, allocations: 2.916 MB / 0.9756 GB, free: 144.1 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.008848/1.589, allocations: 1.278 MB / 0.9768 GB, free: 142.8 MB / 0.5183 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 (202): * Single equations (assignments): 197 * 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.0006666/1.59, allocations: 161 kB / 0.977 GB, free: 142.6 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.602, allocations: 7.561 MB / 0.9844 GB, free: 135.9 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.602, allocations: 0 / 0.9844 GB, free: 135.9 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.004394/1.606, allocations: 2.897 MB / 0.9872 GB, free: 133.2 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.61, allocations: 0.5315 MB / 0.9877 GB, free: 132.8 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.634, allocations: 11.9 MB / 0.9993 GB, free: 122.1 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008939/1.643, allocations: 5.086 MB / 1.004 GB, free: 118.3 MB / 0.5183 GB Notification: Performance of SimCode: time 7.91e-07/1.643, allocations: 0 / 1.004 GB, free: 118.3 MB / 0.5183 GB Notification: Performance of Templates: time 0.09852/1.742, allocations: 56.37 MB / 1.059 GB, free: 70.3 MB / 0.5183 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches