Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.00167, allocations: 174.7 kB / 17.41 MB, free: 4.289 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.387/1.387, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0009179/0.0009179, allocations: 90.61 kB / 295 MB, free: 9.496 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.3836/0.3836, allocations: 44.33 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3658, allocations: 61.9 MB / 0.5127 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.02808/0.3939, allocations: 37.32 MB / 0.5492 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0249/0.4189, allocations: 11.89 MB / 0.5608 GB, free: 1.887 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01047/0.4294, allocations: 174.1 kB / 0.561 GB, free: 1.859 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.4309, allocations: 379.5 kB / 0.5613 GB, free: 1.711 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.4356, allocations: 1.55 MB / 0.5628 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.4372, allocations: 0.6331 MB / 0.5635 GB, free: 0.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008547/0.4458, allocations: 5.465 MB / 0.5688 GB, free: 15.16 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007548/0.4533, allocations: 4.83 MB / 0.5735 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.456, allocations: 1.061 MB / 0.5745 GB, free: 12.11 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.459, allocations: 1.633 MB / 0.5761 GB, free: 11.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.4595, allocations: 123.7 kB / 0.5763 GB, free: 11.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.4617, allocations: 1.057 MB / 0.5773 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.4631, allocations: 1.437 MB / 0.5787 GB, free: 9.355 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4648, allocations: 1.717 MB / 0.5804 GB, free: 7.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.471, allocations: 5.933 MB / 0.5862 GB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.471, allocations: 4 kB / 0.5862 GB, free: 1.664 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4711, allocations: 0 / 0.5862 GB, free: 1.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.4712, allocations: 0 / 0.5862 GB, free: 1.664 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.006663/0.4779, allocations: 3.462 MB / 0.5895 GB, free: 14.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4779, allocations: 8.031 kB / 0.5896 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00737/0.4853, allocations: 2.074 MB / 0.5916 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.4903, allocations: 2.342 MB / 0.5939 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.4905, allocations: 197.4 kB / 0.5941 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005151/0.491, allocations: 267.7 kB / 0.5943 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.5061, allocations: 8.751 MB / 0.6029 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.5063, allocations: 47.58 kB / 0.6029 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.5066, allocations: 131.9 kB / 0.603 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/0.5097, allocations: 1.794 MB / 0.6048 GB, free: 13.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.5236, allocations: 7.698 MB / 0.6123 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.5685, allocations: 34.77 MB / 0.6462 GB, free: 2.391 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006903/0.5754, allocations: 3.096 MB / 0.6493 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002545/0.578, allocations: 1.911 MB / 0.6511 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004302/0.5785, allocations: 335.6 kB / 0.6515 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.5785, allocations: 47.16 kB / 0.6515 GB, free: 12.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 4.268e-06/0.5785, allocations: 4 kB / 0.6515 GB, free: 12.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.04183/0.6204, allocations: 15.36 MB / 0.6665 GB, free: 13.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6205, allocations: 175.2 kB / 0.6667 GB, free: 13.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/0.6279, allocations: 3.517 MB / 0.6701 GB, free: 9.555 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005043/0.6284, allocations: 53.7 kB / 0.6702 GB, free: 9.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.6311, allocations: 2.682 MB / 0.6728 GB, free: 6.777 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.6322, allocations: 0.6133 MB / 0.6734 GB, free: 6.156 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006665/0.6329, allocations: 111.9 kB / 0.6735 GB, free: 6.047 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005806/0.6335, allocations: 0.5371 MB / 0.674 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.6372, allocations: 2.107 MB / 0.6761 GB, free: 3.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3218/0.959, allocations: 5.355 MB / 0.6813 GB, free: 126.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009459/0.9685, allocations: 8.072 MB / 0.6892 GB, free: 119.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002126/0.9688, allocations: 33 kB / 0.6892 GB, free: 119.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01527/0.984, allocations: 8.294 MB / 0.6973 GB, free: 117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/0.9841, allocations: 55 kB / 0.6974 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.9843, allocations: 114.8 kB / 0.6975 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.9869, allocations: 1.215 MB / 0.6987 GB, free: 116.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/0.9906, allocations: 1.221 MB / 0.6998 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007927/0.9985, allocations: 7.203 MB / 0.7069 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.003, allocations: 311 kB / 0.7072 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008422/1.004, allocations: 336.2 kB / 0.7075 GB, free: 112.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (655): * Single equations (assignments): 651 * Array equations: 3 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003369/1.007, allocations: 1.877 MB / 0.7093 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/1.008, allocations: 312.2 kB / 0.7096 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/1.014, allocations: 3.564 MB / 0.7131 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/1.015, allocations: 18.22 kB / 0.7131 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.015, allocations: 6.031 kB / 0.7131 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/1.015, allocations: 7.812 kB / 0.7131 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.03, allocations: 8.322 MB / 0.7213 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/1.03, allocations: 0 / 0.7213 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.032, allocations: 233.2 kB / 0.7215 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/1.035, allocations: 1.054 MB / 0.7225 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/1.035, allocations: 30.17 kB / 0.7225 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008297/1.044, allocations: 6.727 MB / 0.7291 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.044, allocations: 3.938 kB / 0.7291 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007667/1.051, allocations: 6.254 MB / 0.7352 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.052, allocations: 375.4 kB / 0.7356 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/1.053, allocations: 24.16 kB / 0.7356 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.054, allocations: 103.1 kB / 0.7357 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.054, allocations: 82.77 kB / 0.7358 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.054, allocations: 41.97 kB / 0.7358 GB, free: 100.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003045/1.057, allocations: 2.191 MB / 0.738 GB, free: 99.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.057, allocations: 4 kB / 0.738 GB, free: 99.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004399/1.062, allocations: 0.9059 MB / 0.7389 GB, free: 98.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * Array equations: 3 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003775/1.062, allocations: 164.9 kB / 0.739 GB, free: 98.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006556/1.069, allocations: 5.076 MB / 0.744 GB, free: 93.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.069, allocations: 0 / 0.744 GB, free: 93.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/1.071, allocations: 1.854 MB / 0.7458 GB, free: 92.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.074, allocations: 366.8 kB / 0.7461 GB, free: 91.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.086, allocations: 10.27 MB / 0.7562 GB, free: 82.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/1.089, allocations: 2.926 MB / 0.759 GB, free: 79.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004025/1.093, allocations: 1.722 MB / 0.7607 GB, free: 77.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008802/1.094, allocations: 215.4 kB / 0.7609 GB, free: 77.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.094, allocations: 4 kB / 0.7609 GB, free: 77.16 MB / 490.7 MB Notification: Performance of Templates: time 0.06272/1.157, allocations: 34.47 MB / 0.7946 GB, free: 42.89 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches