Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 107.5 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3577/0.3577, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009795/0.0009796, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1119, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2734/0.3854, allocations: 73.69 MB / 0.5476 GB, free: 17.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03311/0.4185, allocations: 14.56 MB / 0.5618 GB, free: 7.785 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01703/0.4356, allocations: 322.2 kB / 0.5621 GB, free: 7.734 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007142/0.4427, allocations: 3.759 MB / 0.5658 GB, free: 5.992 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006752/0.4496, allocations: 2.267 MB / 0.568 GB, free: 4.969 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.4523, allocations: 0.9422 MB / 0.5689 GB, free: 4.562 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.4652, allocations: 8.745 MB / 0.5774 GB, free: 2.035 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007411/0.4726, allocations: 4.68 MB / 0.582 GB, free: 336 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.477, allocations: 1.887 MB / 0.5838 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.4826, allocations: 3.084 MB / 0.5869 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002745/0.4854, allocations: 314.5 kB / 0.5872 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.4906, allocations: 1.426 MB / 0.5885 GB, free: 13.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003882/0.4945, allocations: 2.588 MB / 0.5911 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004693/0.4992, allocations: 2.9 MB / 0.5939 GB, free: 8.008 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.5101, allocations: 9.236 MB / 0.6029 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.5102, allocations: 0 / 0.6029 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5102, allocations: 0 / 0.6029 GB, free: 14.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004397/0.5106, allocations: 0 / 0.6029 GB, free: 14.74 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01725/0.5279, allocations: 6.547 MB / 0.6093 GB, free: 8.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.528, allocations: 12.03 kB / 0.6093 GB, free: 8.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.5405, allocations: 2.66 MB / 0.6119 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.5506, allocations: 4.004 MB / 0.6158 GB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.5509, allocations: 312.4 kB / 0.6161 GB, free: 1.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.5525, allocations: 411.6 kB / 0.6165 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/0.5775, allocations: 13.01 MB / 0.6292 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002565/0.5778, allocations: 59.38 kB / 0.6293 GB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/0.5792, allocations: 199.8 kB / 0.6295 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004133/0.5833, allocations: 2.503 MB / 0.6319 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02284/0.6062, allocations: 10.83 MB / 0.6425 GB, free: 5.141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07041/0.6766, allocations: 50.16 MB / 0.6915 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2222/0.8989, allocations: 4.542 MB / 0.6959 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003734/0.9026, allocations: 2.453 MB / 0.6983 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01205/0.9147, allocations: 6.732 MB / 0.7049 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.9148, allocations: 60.61 kB / 0.7049 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 4.829e-06/0.9148, allocations: 0 / 0.7049 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195): time 0.04176/0.9566, allocations: 19.4 MB / 0.7239 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/0.9567, allocations: 231.8 kB / 0.7241 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0083/0.965, allocations: 5.927 MB / 0.7299 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000469/0.9655, allocations: 51.73 kB / 0.7299 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002497/0.968, allocations: 4.067 MB / 0.7339 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.9691, allocations: 0.7683 MB / 0.7347 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.9712, allocations: 1.535 MB / 0.7362 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.9713, allocations: 306.2 kB / 0.7365 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/0.9756, allocations: 2.632 MB / 0.739 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/0.9819, allocations: 7.163 MB / 0.746 GB, free: 127 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009784/0.9917, allocations: 10.51 MB / 0.7563 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/0.9919, allocations: 47.56 kB / 0.7563 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01579/1.008, allocations: 10.57 MB / 0.7667 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.412e-05/1.008, allocations: 76 kB / 0.7667 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.008, allocations: 156 kB / 0.7669 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/1.011, allocations: 1.242 MB / 0.7681 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004895/1.016, allocations: 1.726 MB / 0.7698 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007527/1.023, allocations: 7.92 MB / 0.7775 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.03, allocations: 405.5 kB / 0.7779 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.032, allocations: 456.7 kB / 0.7783 GB, free: 103.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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 {(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.003948/1.036, allocations: 2.699 MB / 0.781 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008398/1.037, allocations: 489.6 kB / 0.7814 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/1.043, allocations: 4.025 MB / 0.7854 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/1.043, allocations: 27.69 kB / 0.7854 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.043, allocations: 8 kB / 0.7854 GB, free: 96.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.043, allocations: 12.42 kB / 0.7854 GB, free: 96.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.057, allocations: 9.565 MB / 0.7948 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.057, allocations: 8.031 kB / 0.7948 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/1.058, allocations: 327.4 kB / 0.7951 GB, free: 86.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/1.061, allocations: 1.003 MB / 0.7961 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.061, allocations: 32 kB / 0.7961 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/1.067, allocations: 7.237 MB / 0.8032 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.067, allocations: 4 kB / 0.8032 GB, free: 77.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05253/1.12, allocations: 36.58 MB / 0.8389 GB, free: 40.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.122, allocations: 0.8423 MB / 0.8397 GB, free: 39.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.123, allocations: 35.98 kB / 0.8397 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.125, allocations: 119.2 kB / 0.8399 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/1.126, allocations: 116.9 kB / 0.84 GB, free: 39.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.126, allocations: 52 kB / 0.84 GB, free: 39.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004405/1.13, allocations: 3.786 MB / 0.8437 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.13, allocations: 0 / 0.8437 GB, free: 35.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006109/1.136, allocations: 1.722 MB / 0.8454 GB, free: 33.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(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.0003535/1.137, allocations: 175.9 kB / 0.8456 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007849/1.145, allocations: 6.313 MB / 0.8517 GB, free: 27.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.145, allocations: 3.938 kB / 0.8517 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.147, allocations: 1.915 MB / 0.8536 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.15, allocations: 0.5903 MB / 0.8542 GB, free: 24.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.17, allocations: 16.23 MB / 0.87 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00532/1.175, allocations: 4.198 MB / 0.8741 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0057/1.181, allocations: 2.322 MB / 0.8764 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.182, allocations: 323.4 kB / 0.8767 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/1.182, allocations: 0 / 0.8767 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of Templates: time 0.2757/1.458, allocations: 55.29 MB / 0.9307 GB, free: 119.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches