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.00163/0.00163, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3367, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01505/0.3518, allocations: 14 MB / 0.5454 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.3621, allocations: 4.756 MB / 0.55 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.3653, allocations: 94 kB / 0.5501 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008089/0.3735, allocations: 4.47 MB / 0.5545 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005915/0.3795, allocations: 2.229 MB / 0.5566 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.382, allocations: 1.131 MB / 0.5577 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008172/0.3902, allocations: 6.401 MB / 0.564 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006535/0.3968, allocations: 5.447 MB / 0.5693 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.4001, allocations: 2.216 MB / 0.5715 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.4044, allocations: 2.983 MB / 0.5744 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.4058, allocations: 496 kB / 0.5749 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003303/0.4091, allocations: 1.49 MB / 0.5763 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.4122, allocations: 2.767 MB / 0.579 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.4174, allocations: 3.111 MB / 0.582 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.4303, allocations: 9.811 MB / 0.5916 GB, free: 4.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.4304, allocations: 8 kB / 0.5916 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4304, allocations: 0 / 0.5916 GB, free: 4.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003515/0.4307, allocations: 0 / 0.5916 GB, free: 4.098 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.01752/0.4483, allocations: 6.79 MB / 0.5983 GB, free: 13.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.4484, allocations: 9.109 kB / 0.5983 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.4601, allocations: 2.617 MB / 0.6008 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008387/0.4685, allocations: 3.91 MB / 0.6046 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.4689, allocations: 337.1 kB / 0.605 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.4703, allocations: 467.7 kB / 0.6054 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/0.4968, allocations: 13.98 MB / 0.6191 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.4971, allocations: 63.42 kB / 0.6191 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001443/0.4986, allocations: 219.8 kB / 0.6193 GB, free: 6.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004689/0.5033, allocations: 2.539 MB / 0.6218 GB, free: 4.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.5276, allocations: 11.99 MB / 0.6335 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0674/0.5951, allocations: 53.21 MB / 0.6855 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/0.6124, allocations: 6.509 MB / 0.6918 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.6169, allocations: 3.597 MB / 0.6954 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.6171, allocations: 45.19 kB / 0.6954 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.6172, allocations: 59.88 kB / 0.6955 GB, free: 7.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=218): time 6.202e-06/0.6172, allocations: 0 / 0.6955 GB, free: 7.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.3231/0.9403, allocations: 31.57 MB / 0.7263 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.9404, allocations: 206.6 kB / 0.7265 GB, free: 160 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007822/0.9482, allocations: 5.953 MB / 0.7323 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006276/0.9489, allocations: 69.58 kB / 0.7324 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001997/0.9509, allocations: 3.984 MB / 0.7363 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/0.9518, allocations: 0.9998 MB / 0.7372 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.9534, allocations: 1.607 MB / 0.7388 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.9535, allocations: 301.1 kB / 0.7391 GB, free: 153 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.9572, allocations: 3.465 MB / 0.7425 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/0.9622, allocations: 7.891 MB / 0.7502 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009748/0.9719, allocations: 12.16 MB / 0.7621 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-05/0.972, allocations: 48 kB / 0.7621 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.01879/0.9908, allocations: 13.2 MB / 0.775 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/0.9909, allocations: 76.25 kB / 0.7751 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/0.9911, allocations: 152 kB / 0.7752 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004874/0.996, allocations: 2.265 MB / 0.7774 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005259/1.001, allocations: 1.806 MB / 0.7792 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.016, allocations: 14.41 MB / 0.7933 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006133/1.022, allocations: 487.2 kB / 0.7937 GB, free: 99.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.024, allocations: 463.9 kB / 0.7942 GB, free: 99.21 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.00475/1.028, allocations: 2.768 MB / 0.7969 GB, free: 96.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.03, allocations: 0.4936 MB / 0.7974 GB, free: 95.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.041, allocations: 7.127 MB / 0.8043 GB, free: 88.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/1.041, allocations: 11.91 kB / 0.8043 GB, free: 88.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.041, allocations: 7.984 kB / 0.8043 GB, free: 88.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.042, allocations: 0.5686 MB / 0.8049 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007092/1.043, allocations: 40 kB / 0.8049 GB, free: 88.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.045, allocations: 231.6 kB / 0.8051 GB, free: 87.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.045, allocations: 181.6 kB / 0.8053 GB, free: 87.72 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01114/1.056, allocations: 7.446 MB / 0.8126 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009413/1.066, allocations: 9.413 MB / 0.8218 GB, free: 70.83 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00247/1.068, allocations: 2.593 MB / 0.8243 GB, free: 68.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004361/1.073, allocations: 3.794 MB / 0.828 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of Backend: time 5.01e-07/1.073, allocations: 0 / 0.828 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009941/1.083, allocations: 6.396 MB / 0.8343 GB, free: 58.12 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01732/1.1, allocations: 12.85 MB / 0.8468 GB, free: 45.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.1114/1.211, allocations: 74.12 MB / 0.9192 GB, free: 3.531 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches