Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 177.5 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.7 MB / 243.9 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008167/0.0008169, allocations: 95.91 kB / 295 MB, free: 9.746 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.317/0.317, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 15.98 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2727, allocations: 61.9 MB / 0.5127 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01895/0.2917, allocations: 26.91 MB / 0.539 GB, free: 19.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.3036, allocations: 9.352 MB / 0.5482 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.3075, allocations: 121.1 kB / 0.5483 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3086, allocations: 430.2 kB / 0.5487 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.3119, allocations: 1.656 MB / 0.5503 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.3129, allocations: 447.4 kB / 0.5507 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004396/0.3173, allocations: 5.012 MB / 0.5556 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.3209, allocations: 2.728 MB / 0.5583 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.3229, allocations: 1.045 MB / 0.5593 GB, free: 7.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.3256, allocations: 1.688 MB / 0.5609 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007187/0.3264, allocations: 130.3 kB / 0.5611 GB, free: 6.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.3292, allocations: 0.8933 MB / 0.5619 GB, free: 6.492 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002388/0.3317, allocations: 1.493 MB / 0.5634 GB, free: 6.012 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003624/0.3353, allocations: 1.802 MB / 0.5652 GB, free: 4.711 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007472/0.3428, allocations: 5.77 MB / 0.5708 GB, free: 1.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3428, allocations: 3.984 kB / 0.5708 GB, free: 1.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3428, allocations: 4 kB / 0.5708 GB, free: 1.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.343, allocations: 1 kB / 0.5708 GB, free: 1.516 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.006593/0.3496, allocations: 3.4 MB / 0.5741 GB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3497, allocations: 8.031 kB / 0.5741 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.36, allocations: 3.162 MB / 0.5772 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003952/0.364, allocations: 1.897 MB / 0.5791 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3642, allocations: 193 kB / 0.5793 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/0.3649, allocations: 248 kB / 0.5795 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.3801, allocations: 10.48 MB / 0.5897 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.3802, allocations: 19.81 kB / 0.5897 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.3805, allocations: 123.8 kB / 0.5899 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004065/0.3846, allocations: 2.553 MB / 0.5924 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.4025, allocations: 9.884 MB / 0.602 GB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04859/0.4512, allocations: 34.48 MB / 0.6357 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/0.461, allocations: 5.177 MB / 0.6407 GB, free: 8.387 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.4643, allocations: 2.289 MB / 0.643 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/0.466, allocations: 1.88 MB / 0.6448 GB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.059e-05/0.4661, allocations: 44.56 kB / 0.6448 GB, free: 3.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=229): time 9.227e-06/0.4661, allocations: 0 / 0.6448 GB, free: 3.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=235): time 0.03259/0.4987, allocations: 13.93 MB / 0.6585 GB, free: 5.844 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.4988, allocations: 77.34 kB / 0.6585 GB, free: 5.758 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.503, allocations: 2.615 MB / 0.6611 GB, free: 3.121 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.5033, allocations: 57.7 kB / 0.6611 GB, free: 3.059 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.5052, allocations: 2.632 MB / 0.6637 GB, free: 396 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.5064, allocations: 0.8519 MB / 0.6645 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/0.5069, allocations: 100 kB / 0.6646 GB, free: 15.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005028/0.5074, allocations: 0.5292 MB / 0.6652 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/0.511, allocations: 2.189 MB / 0.6673 GB, free: 12.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/0.5167, allocations: 5.048 MB / 0.6722 GB, free: 6.238 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2127/0.7294, allocations: 7.946 MB / 0.68 GB, free: 128 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.849e-05/0.7295, allocations: 29.09 kB / 0.68 GB, free: 128 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01169/0.7412, allocations: 7.845 MB / 0.6877 GB, free: 125.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.7413, allocations: 48.5 kB / 0.6877 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.422e-05/0.7414, allocations: 101 kB / 0.6878 GB, free: 125.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.7436, allocations: 0.7882 MB / 0.6886 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/0.7472, allocations: 1.188 MB / 0.6897 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.7517, allocations: 4.2 MB / 0.6938 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.7551, allocations: 303.7 kB / 0.6941 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/0.7556, allocations: 297.2 kB / 0.6944 GB, free: 123.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003612/0.7592, allocations: 2.013 MB / 0.6964 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.7596, allocations: 264.7 kB / 0.6966 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006795/0.7664, allocations: 4.711 MB / 0.7012 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/0.7664, allocations: 44.41 kB / 0.7013 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7665, allocations: 2.75 kB / 0.7013 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.7665, allocations: 7.797 kB / 0.7013 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.7818, allocations: 10.52 MB / 0.7116 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.7818, allocations: 7.094 kB / 0.7116 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.7833, allocations: 368.4 kB / 0.7119 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.7852, allocations: 0.6659 MB / 0.7126 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.7854, allocations: 37.95 kB / 0.7126 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.7894, allocations: 3.653 MB / 0.7162 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.7894, allocations: 11.66 kB / 0.7162 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/0.7977, allocations: 7.116 MB / 0.7231 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/0.7985, allocations: 311.2 kB / 0.7234 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.7988, allocations: 42.3 kB / 0.7235 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7998, allocations: 142.5 kB / 0.7236 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.8002, allocations: 138.1 kB / 0.7237 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.8003, allocations: 63.75 kB / 0.7238 GB, free: 112 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002011/0.8023, allocations: 1.602 MB / 0.7254 GB, free: 110.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8023, allocations: 0 / 0.7254 GB, free: 110.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003784/0.8061, allocations: 0.9292 MB / 0.7263 GB, free: 109.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003662/0.8065, allocations: 186.5 kB / 0.7264 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/0.8127, allocations: 5.323 MB / 0.7316 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.8127, allocations: 4.25 kB / 0.7317 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.8151, allocations: 2.015 MB / 0.7336 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.8189, allocations: 355.2 kB / 0.734 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.8315, allocations: 11.51 MB / 0.7452 GB, free: 92.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.834, allocations: 3.168 MB / 0.7483 GB, free: 88.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003749/0.8377, allocations: 1.956 MB / 0.7502 GB, free: 86.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.8383, allocations: 203.4 kB / 0.7504 GB, free: 86.71 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8383, allocations: 0 / 0.7504 GB, free: 86.71 MB / 490.7 MB Notification: Performance of Templates: time 0.04322/0.8816, allocations: 29.29 MB / 0.779 GB, free: 57.63 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches