Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") [: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.001017/0.001017, allocations: 194.9 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008665/0.0008665, allocations: 95.09 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1686/0.1686, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 63.25 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.445, allocations: 107.6 MB / 0.6088 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4453, allocations: 76.14 kB / 0.6089 GB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2954/0.7407, allocations: 118.2 MB / 0.7243 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004515/0.7412, allocations: 119.9 kB / 0.7245 GB, free: 13.47 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02153/0.7628, allocations: 5.933 MB / 0.7303 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7628, allocations: 12.03 kB / 0.7303 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/0.7905, allocations: 6.594 MB / 0.7367 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/0.8082, allocations: 6.057 MB / 0.7426 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.8086, allocations: 192 kB / 0.7428 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/0.8111, allocations: 359.9 kB / 0.7431 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01817/0.8293, allocations: 8.802 MB / 0.7517 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1997/1.029, allocations: 12.99 MB / 0.7644 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/1.029, allocations: 69.91 kB / 0.7645 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007716/1.03, allocations: 37.44 kB / 0.7645 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001377/1.032, allocations: 1.466 MB / 0.766 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05472/1.086, allocations: 60.32 MB / 0.8249 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/1.092, allocations: 5.35 MB / 0.8301 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/1.095, allocations: 3.754 MB / 0.8338 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01443/1.11, allocations: 10.11 MB / 0.8436 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/1.11, allocations: 64.31 kB / 0.8437 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 6.572e-06/1.11, allocations: 1.688 kB / 0.8437 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.04323/1.153, allocations: 23.07 MB / 0.8662 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/1.153, allocations: 213.9 kB / 0.8664 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005518/1.159, allocations: 3.705 MB / 0.87 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005733/1.159, allocations: 29.7 kB / 0.8701 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.161, allocations: 3.737 MB / 0.8737 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.163, allocations: 0.9825 MB / 0.8747 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/1.164, allocations: 0 / 0.8747 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004394/1.164, allocations: 0.6163 MB / 0.8753 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/1.168, allocations: 2.938 MB / 0.8782 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004972/1.173, allocations: 7.16 MB / 0.8851 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/1.178, allocations: 4.56 MB / 0.8896 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-05/1.178, allocations: 44 kB / 0.8896 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01645/1.195, allocations: 10.49 MB / 0.8999 GB, free: 91.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.195, allocations: 8 kB / 0.8999 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/1.195, allocations: 156.1 kB / 0.9 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/1.199, allocations: 1.567 MB / 0.9016 GB, free: 90.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/1.205, allocations: 1.681 MB / 0.9032 GB, free: 89.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.216, allocations: 10.31 MB / 0.9133 GB, free: 79.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/1.223, allocations: 235.8 kB / 0.9135 GB, free: 79.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/1.224, allocations: 449.4 kB / 0.9139 GB, free: 79.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (891): * Single equations (assignments): 886 * 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.001194/1.225, allocations: 499.9 kB / 0.9144 GB, free: 78.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008262/1.226, allocations: 414.7 kB / 0.9148 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008739/1.235, allocations: 5.803 MB / 0.9205 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-05/1.235, allocations: 31.75 kB / 0.9205 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.235, allocations: 11.91 kB / 0.9205 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.235, allocations: 11.67 kB / 0.9205 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.254, allocations: 12.19 MB / 0.9324 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.254, allocations: 0 / 0.9324 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.257, allocations: 426.1 kB / 0.9328 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/1.26, allocations: 1.306 MB / 0.9341 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/1.26, allocations: 5.406 kB / 0.9341 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.272, allocations: 9.664 MB / 0.9436 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.272, allocations: 7.312 kB / 0.9436 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01242/1.284, allocations: 9.704 MB / 0.953 GB, free: 43.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.285, allocations: 439.5 kB / 0.9535 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006937/1.286, allocations: 4 kB / 0.9535 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.288, allocations: 111.8 kB / 0.9536 GB, free: 42.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/1.288, allocations: 121.7 kB / 0.9537 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.289, allocations: 71.52 kB / 0.9538 GB, free: 42.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003284/1.292, allocations: 2.494 MB / 0.9562 GB, free: 40.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005558/1.297, allocations: 1.213 MB / 0.9574 GB, free: 38.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (212): * Single equations (assignments): 207 * 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.0004754/1.298, allocations: 157.6 kB / 0.9575 GB, free: 38.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009351/1.307, allocations: 7.352 MB / 0.9647 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.307, allocations: 11.94 kB / 0.9647 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/1.311, allocations: 2.966 MB / 0.9676 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.314, allocations: 485.4 kB / 0.9681 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.335, allocations: 11.37 MB / 0.9792 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006211/1.341, allocations: 4.806 MB / 0.9839 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/1.341, allocations: 0 / 0.9839 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.2729/1.614, allocations: 54.16 MB / 1.037 GB, free: 155 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches