Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4578, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01857/0.4764, allocations: 14 MB / 0.5447 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.4911, allocations: 4.763 MB / 0.5493 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.4959, allocations: 91.75 kB / 0.5494 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00948/0.5054, allocations: 4.479 MB / 0.5538 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.514, allocations: 2.229 MB / 0.556 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.5178, allocations: 1.131 MB / 0.5571 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.5286, allocations: 6.392 MB / 0.5633 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008918/0.5376, allocations: 5.458 MB / 0.5686 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.5425, allocations: 2.212 MB / 0.5708 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005511/0.5481, allocations: 2.983 MB / 0.5737 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002133/0.5502, allocations: 492 kB / 0.5742 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.5555, allocations: 1.494 MB / 0.5756 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004889/0.5604, allocations: 2.763 MB / 0.5783 GB, free: 1.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006617/0.567, allocations: 3.115 MB / 0.5814 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.5819, allocations: 9.811 MB / 0.591 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5819, allocations: 0 / 0.591 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.582, allocations: 0 / 0.591 GB, free: 4.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004486/0.5824, allocations: 0 / 0.591 GB, free: 4.121 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.02232/0.6047, allocations: 6.794 MB / 0.5976 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.6048, allocations: 9.109 kB / 0.5976 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.618, allocations: 2.621 MB / 0.6002 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6301, allocations: 3.902 MB / 0.604 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.6304, allocations: 341 kB / 0.6043 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.6329, allocations: 459.8 kB / 0.6047 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.6609, allocations: 13.98 MB / 0.6184 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/0.6611, allocations: 75.3 kB / 0.6185 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000903/0.6621, allocations: 211.8 kB / 0.6187 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004473/0.6665, allocations: 2.535 MB / 0.6211 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.6912, allocations: 12 MB / 0.6329 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07102/0.7623, allocations: 53.21 MB / 0.6848 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/0.7803, allocations: 6.5 MB / 0.6912 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004653/0.785, allocations: 3.603 MB / 0.6947 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.7852, allocations: 41.25 kB / 0.6947 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.7853, allocations: 55.88 kB / 0.6948 GB, free: 7.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=218): time 4.618e-06/0.7853, allocations: 0 / 0.6948 GB, free: 7.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.4275/1.213, allocations: 31.58 MB / 0.7256 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.213, allocations: 209.1 kB / 0.7258 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009816/1.223, allocations: 5.957 MB / 0.7316 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007726/1.224, allocations: 64.95 kB / 0.7317 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.226, allocations: 3.989 MB / 0.7356 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.227, allocations: 0.9895 MB / 0.7366 GB, free: 154 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/1.229, allocations: 1.606 MB / 0.7381 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/1.229, allocations: 307.7 kB / 0.7384 GB, free: 153 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004319/1.234, allocations: 3.471 MB / 0.7418 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/1.239, allocations: 7.885 MB / 0.7495 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.25, allocations: 12.16 MB / 0.7614 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/1.251, allocations: 44 kB / 0.7614 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02314/1.274, allocations: 13.21 MB / 0.7743 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002694/1.274, allocations: 68 kB / 0.7744 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004279/1.274, allocations: 156 kB / 0.7745 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/1.28, allocations: 2.265 MB / 0.7768 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006813/1.287, allocations: 1.797 MB / 0.7785 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/1.302, allocations: 14.41 MB / 0.7926 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/1.31, allocations: 491.1 kB / 0.7931 GB, free: 99.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.312, allocations: 463.9 kB / 0.7935 GB, free: 99.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (940): * Single equations (assignments): 935 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00525/1.317, allocations: 2.765 MB / 0.7962 GB, free: 96.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.318, allocations: 0.4936 MB / 0.7967 GB, free: 96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.329, allocations: 7.127 MB / 0.8036 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.699e-05/1.329, allocations: 35.94 kB / 0.8037 GB, free: 88.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-05/1.329, allocations: 12 kB / 0.8037 GB, free: 88.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.083e-05/1.329, allocations: 11.95 kB / 0.8037 GB, free: 88.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02449/1.354, allocations: 14.36 MB / 0.8177 GB, free: 74.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/1.354, allocations: 4 kB / 0.8177 GB, free: 74.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.356, allocations: 451.2 kB / 0.8182 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004876/1.361, allocations: 2.038 MB / 0.8201 GB, free: 71.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000523/1.362, allocations: 40 kB / 0.8202 GB, free: 71.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/1.377, allocations: 13.82 MB / 0.8337 GB, free: 57.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.377, allocations: 3.938 kB / 0.8337 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.392, allocations: 11.31 MB / 0.8447 GB, free: 46.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.395, allocations: 0.5726 MB / 0.8453 GB, free: 45.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008977/1.396, allocations: 39.19 kB / 0.8453 GB, free: 45.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.398, allocations: 231.3 kB / 0.8456 GB, free: 45.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/1.399, allocations: 153.8 kB / 0.8457 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/1.399, allocations: 68.08 kB / 0.8458 GB, free: 45.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005094/1.404, allocations: 3.79 MB / 0.8495 GB, free: 41.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.404, allocations: 0 / 0.8495 GB, free: 41.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007215/1.411, allocations: 1.491 MB / 0.8509 GB, free: 40.09 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (5,17,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005984/1.412, allocations: 188.9 kB / 0.8511 GB, free: 39.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.423, allocations: 8.429 MB / 0.8593 GB, free: 31.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.423, allocations: 4 kB / 0.8593 GB, free: 31.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005452/1.428, allocations: 3.667 MB / 0.8629 GB, free: 27.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.432, allocations: 0.6657 MB / 0.8636 GB, free: 27.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.454, allocations: 13.79 MB / 0.877 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004267/1.458, allocations: 4.238 MB / 0.8812 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005158/1.463, allocations: 2.551 MB / 0.8837 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.464, allocations: 347.4 kB / 0.884 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.464, allocations: 0 / 0.884 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.1097/1.574, allocations: 59.75 MB / 0.9423 GB, free: 10.79 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches