Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 201 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.0007769, allocations: 100.4 kB / 299.9 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3528/0.3528, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002772, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3243, allocations: 63.09 MB / 0.5214 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.05273/0.3771, allocations: 65.92 MB / 0.5857 GB, free: 5.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03493/0.412, allocations: 17.69 MB / 0.603 GB, free: 2.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01471/0.4268, allocations: 311.2 kB / 0.6033 GB, free: 2.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.4292, allocations: 0.5014 MB / 0.6038 GB, free: 1.723 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006868/0.4361, allocations: 2.114 MB / 0.6059 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.4382, allocations: 0.8114 MB / 0.6067 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01093/0.4491, allocations: 8.878 MB / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009969/0.4591, allocations: 7.585 MB / 0.6227 GB, free: 13.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.4624, allocations: 1.646 MB / 0.6243 GB, free: 12.24 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.4661, allocations: 2.464 MB / 0.6268 GB, free: 9.766 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.4672, allocations: 172 kB / 0.6269 GB, free: 9.598 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.4701, allocations: 1.264 MB / 0.6281 GB, free: 8.332 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.4729, allocations: 2.216 MB / 0.6303 GB, free: 6.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.4766, allocations: 2.478 MB / 0.6327 GB, free: 3.609 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009534/0.4861, allocations: 8.276 MB / 0.6408 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4862, allocations: 0 / 0.6408 GB, free: 11.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4862, allocations: 0 / 0.6408 GB, free: 11.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002379/0.4864, allocations: 0 / 0.6408 GB, free: 11.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01087/0.4973, allocations: 5.077 MB / 0.6458 GB, free: 6.152 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4974, allocations: 8.031 kB / 0.6458 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.508, allocations: 2.661 MB / 0.6484 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008445/0.5165, allocations: 3.719 MB / 0.652 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.5168, allocations: 287.4 kB / 0.6523 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.5185, allocations: 379.7 kB / 0.6526 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.5381, allocations: 11.99 MB / 0.6644 GB, free: 2.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.5382, allocations: 55.52 kB / 0.6644 GB, free: 2.156 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/0.5387, allocations: 179.8 kB / 0.6646 GB, free: 1.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.542, allocations: 2.272 MB / 0.6668 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.561, allocations: 9.904 MB / 0.6765 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2799/0.841, allocations: 46.85 MB / 0.7222 GB, free: 97.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009879/0.8509, allocations: 3.918 MB / 0.7261 GB, free: 96.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.8537, allocations: 2.133 MB / 0.7281 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008951/0.8627, allocations: 5.901 MB / 0.7339 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.8627, allocations: 51.95 kB / 0.7339 GB, free: 92.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 4.448e-06/0.8627, allocations: 0 / 0.7339 GB, free: 92.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.03715/0.8999, allocations: 17.45 MB / 0.751 GB, free: 82.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.9, allocations: 224.5 kB / 0.7512 GB, free: 82.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/0.9063, allocations: 5.638 MB / 0.7567 GB, free: 77.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003075/0.9066, allocations: 49.7 kB / 0.7568 GB, free: 77.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.9082, allocations: 3.798 MB / 0.7605 GB, free: 74.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.9087, allocations: 0.6554 MB / 0.7611 GB, free: 73.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.9089, allocations: 136 kB / 0.7612 GB, free: 73.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.9092, allocations: 0.6032 MB / 0.7618 GB, free: 72.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.9116, allocations: 2.274 MB / 0.764 GB, free: 70.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/0.9155, allocations: 6.569 MB / 0.7705 GB, free: 61.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007291/0.9228, allocations: 9.533 MB / 0.7798 GB, free: 50.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.272e-05/0.9229, allocations: 44 kB / 0.7798 GB, free: 50.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01257/0.9355, allocations: 9.582 MB / 0.7892 GB, free: 40.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.051e-05/0.9356, allocations: 72 kB / 0.7892 GB, free: 40.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.9357, allocations: 152 kB / 0.7894 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/0.9383, allocations: 1.235 MB / 0.7906 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/0.9423, allocations: 1.579 MB / 0.7921 GB, free: 37.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.9495, allocations: 7.895 MB / 0.7998 GB, free: 29.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/0.9545, allocations: 371.5 kB / 0.8002 GB, free: 28.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/0.9554, allocations: 427.7 kB / 0.8006 GB, free: 28.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (842): * Single equations (assignments): 835 * 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 {(2,13,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003181/0.9585, allocations: 2.521 MB / 0.8031 GB, free: 25.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/0.9593, allocations: 458 kB / 0.8035 GB, free: 25.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.9645, allocations: 3.38 MB / 0.8068 GB, free: 22.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.9645, allocations: 20 kB / 0.8068 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.9645, allocations: 4 kB / 0.8068 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.9645, allocations: 7.969 kB / 0.8068 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.9783, allocations: 8.315 MB / 0.815 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.9783, allocations: 8.062 kB / 0.815 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.9794, allocations: 251.6 kB / 0.8152 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.9817, allocations: 1 MB / 0.8162 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.9819, allocations: 32.33 kB / 0.8162 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006676/0.9886, allocations: 7.232 MB / 0.8233 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9886, allocations: 4 kB / 0.8233 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007555/0.9962, allocations: 5.85 MB / 0.829 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.9976, allocations: 0.5341 MB / 0.8295 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009379/0.9986, allocations: 27.94 kB / 0.8295 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1, allocations: 95.88 kB / 0.8296 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/1.001, allocations: 92.91 kB / 0.8297 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/1.001, allocations: 55.81 kB / 0.8298 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006252/1.007, allocations: 3.585 MB / 0.8333 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/1.007, allocations: 0 / 0.8333 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006196/1.013, allocations: 1.182 MB / 0.8344 GB, free: 9.395 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 (120): * Single equations (assignments): 115 * 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.0005855/1.014, allocations: 168.9 kB / 0.8346 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009732/1.024, allocations: 5.537 MB / 0.84 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.024, allocations: 0 / 0.84 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.026, allocations: 1.613 MB / 0.8416 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006116/1.032, allocations: 0.5932 MB / 0.8421 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.054, allocations: 13.47 MB / 0.8553 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005764/1.06, allocations: 3.869 MB / 0.8591 GB, free: 48 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005717/1.066, allocations: 2.128 MB / 0.8612 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.067, allocations: 291.3 kB / 0.8614 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/1.067, allocations: 4 kB / 0.8614 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.3139/1.381, allocations: 43.27 MB / 0.9037 GB, free: 171 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches