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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 102.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3619/0.3619, allocations: 44.84 MB / 392.7 MB, free: 34.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 62.02 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.08824/0.4616, allocations: 99.69 MB / 0.6125 GB, free: 5.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05548/0.5171, allocations: 19.06 MB / 0.6311 GB, free: 2.445 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03302/0.5502, allocations: 431 kB / 0.6315 GB, free: 2.023 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.5607, allocations: 5.022 MB / 0.6364 GB, free: 12.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008625/0.5693, allocations: 2.444 MB / 0.6388 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.5728, allocations: 1.147 MB / 0.6399 GB, free: 9.387 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01643/0.5893, allocations: 11.71 MB / 0.6514 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009019/0.5983, allocations: 5.933 MB / 0.6572 GB, free: 7.645 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.6039, allocations: 2.281 MB / 0.6594 GB, free: 5.355 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006978/0.6109, allocations: 3.762 MB / 0.6631 GB, free: 1.582 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.6131, allocations: 392 kB / 0.6634 GB, free: 1.199 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00433/0.6174, allocations: 1.478 MB / 0.6649 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004508/0.622, allocations: 3.113 MB / 0.6679 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007586/0.6296, allocations: 3.429 MB / 0.6713 GB, free: 9.148 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.419/1.049, allocations: 10.74 MB / 0.6818 GB, free: 23.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.049, allocations: 0.875 kB / 0.6818 GB, free: 23.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.049, allocations: 0 / 0.6818 GB, free: 23.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000478/1.049, allocations: 0 / 0.6818 GB, free: 23.81 MB / 490.7 MB 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.02267/1.072, allocations: 7.74 MB / 0.6893 GB, free: 21.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.072, allocations: 9.969 kB / 0.6893 GB, free: 21.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.089, allocations: 3.136 MB / 0.6924 GB, free: 20.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/1.104, allocations: 4.796 MB / 0.6971 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/1.105, allocations: 370.5 kB / 0.6974 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/1.108, allocations: 0.4976 MB / 0.6979 GB, free: 19.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03899/1.147, allocations: 14.86 MB / 0.7124 GB, free: 16.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003287/1.147, allocations: 71.06 kB / 0.7125 GB, free: 16.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009023/1.148, allocations: 233.1 kB / 0.7127 GB, free: 16.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004857/1.153, allocations: 2.723 MB / 0.7154 GB, free: 16.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02524/1.179, allocations: 12.31 MB / 0.7274 GB, free: 16.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07614/1.255, allocations: 57.39 MB / 0.7834 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.266, allocations: 4.644 MB / 0.788 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/1.271, allocations: 2.908 MB / 0.7908 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/1.271, allocations: 35.72 kB / 0.7909 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.271, allocations: 58.03 kB / 0.7909 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 5.961e-06/1.271, allocations: 0 / 0.7909 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of matching and sorting (n=204): time 0.06135/1.332, allocations: 23.31 MB / 0.8137 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.332, allocations: 255.3 kB / 0.8139 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.344, allocations: 6.734 MB / 0.8205 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007603/1.345, allocations: 57.7 kB / 0.8205 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004348/1.349, allocations: 4.606 MB / 0.825 GB, free: 15.02 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.351, allocations: 0.8193 MB / 0.8258 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002525/1.353, allocations: 1.693 MB / 0.8275 GB, free: 12.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.354, allocations: 305.1 kB / 0.8278 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/1.358, allocations: 2.905 MB / 0.8306 GB, free: 9.281 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008292/1.366, allocations: 7.866 MB / 0.8383 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.381, allocations: 11.51 MB / 0.8495 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001719/1.381, allocations: 52 kB / 0.8496 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02544/1.407, allocations: 11.99 MB / 0.8613 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.407, allocations: 83.94 kB / 0.8614 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004048/1.407, allocations: 176 kB / 0.8616 GB, free: 6.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005578/1.413, allocations: 1.779 MB / 0.8633 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007571/1.421, allocations: 1.852 MB / 0.8651 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/1.439, allocations: 11.76 MB / 0.8766 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008291/1.448, allocations: 461.9 kB / 0.877 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/1.45, allocations: 500 kB / 0.8775 GB, free: 6.098 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.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.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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 990 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007786/1.457, allocations: 3.051 MB / 0.8805 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/1.459, allocations: 0.5399 MB / 0.881 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.47, allocations: 4.862 MB / 0.8857 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/1.47, allocations: 22.25 kB / 0.8858 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.933e-05/1.47, allocations: 8 kB / 0.8858 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/1.47, allocations: 19.95 kB / 0.8858 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.498, allocations: 11.27 MB / 0.8968 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/1.498, allocations: 0 / 0.8968 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/1.499, allocations: 328.4 kB / 0.8971 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005116/1.504, allocations: 1.495 MB / 0.8986 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/1.505, allocations: 37.31 kB / 0.8986 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/1.519, allocations: 10.83 MB / 0.9092 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.519, allocations: 0 / 0.9092 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4235/1.942, allocations: 51.49 MB / 0.9595 GB, free: 268.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.944, allocations: 0.6157 MB / 0.9601 GB, free: 268.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/1.945, allocations: 38.22 kB / 0.9601 GB, free: 268.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.947, allocations: 140.3 kB / 0.9602 GB, free: 268.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/1.947, allocations: 124 kB / 0.9604 GB, free: 268.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.947, allocations: 54.17 kB / 0.9604 GB, free: 268.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006344/1.954, allocations: 4.29 MB / 0.9646 GB, free: 266.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.954, allocations: 3.156 kB / 0.9646 GB, free: 266.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008675/1.962, allocations: 2.036 MB / 0.9666 GB, free: 266.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004845/1.963, allocations: 172.2 kB / 0.9668 GB, free: 266 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009007/1.972, allocations: 7.11 MB / 0.9737 GB, free: 261.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.972, allocations: 0 / 0.9737 GB, free: 261.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.974, allocations: 2.288 MB / 0.9759 GB, free: 259.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006129/1.98, allocations: 0.7399 MB / 0.9767 GB, free: 258.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/2.006, allocations: 18.79 MB / 0.995 GB, free: 240.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006772/2.013, allocations: 4.74 MB / 0.9996 GB, free: 235.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005833/2.019, allocations: 2.522 MB / 1.002 GB, free: 232.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009618/2.02, allocations: 359.4 kB / 1.002 GB, free: 232.6 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/2.02, allocations: 0 / 1.002 GB, free: 232.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.1083/2.128, allocations: 68.53 MB / 1.069 GB, free: 164.3 MB / 0.6511 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@2/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