Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 170.7 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009042/0.0009039, allocations: 86.94 kB / 270.8 MB, free: 8.137 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4372/0.4372, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 12 kB / 432.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 58.84 MB / 491.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3176/0.4575, allocations: 37.9 MB / 0.5167 GB, free: 23.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.4816, allocations: 11.98 MB / 0.5284 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0109/0.4926, allocations: 177.2 kB / 0.5285 GB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.4944, allocations: 390.5 kB / 0.5289 GB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.4996, allocations: 1.632 MB / 0.5305 GB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.5013, allocations: 0.6352 MB / 0.5311 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006351/0.5077, allocations: 5.47 MB / 0.5365 GB, free: 11.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005663/0.5134, allocations: 4.901 MB / 0.5412 GB, free: 8.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.5157, allocations: 1.119 MB / 0.5423 GB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/0.5182, allocations: 1.742 MB / 0.544 GB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.5187, allocations: 131.9 kB / 0.5442 GB, free: 7.555 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.5209, allocations: 1.058 MB / 0.5452 GB, free: 7.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001983/0.5229, allocations: 1.517 MB / 0.5467 GB, free: 6.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002272/0.5252, allocations: 1.824 MB / 0.5485 GB, free: 5.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.5356, allocations: 6.273 MB / 0.5546 GB, free: 3.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5357, allocations: 3.938 kB / 0.5546 GB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5357, allocations: 1.5 kB / 0.5546 GB, free: 3.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003381/0.536, allocations: 0 / 0.5546 GB, free: 3.102 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01231/0.5483, allocations: 3.628 MB / 0.5581 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5484, allocations: 8.25 kB / 0.5581 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009637/0.5581, allocations: 2.111 MB / 0.5602 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008487/0.5666, allocations: 2.454 MB / 0.5626 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.5669, allocations: 210.8 kB / 0.5628 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/0.5689, allocations: 280.5 kB / 0.5631 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02433/0.5933, allocations: 9.274 MB / 0.5721 GB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000273/0.5936, allocations: 39.59 kB / 0.5722 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/0.595, allocations: 135.9 kB / 0.5723 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00422/0.5993, allocations: 1.919 MB / 0.5742 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02644/0.6258, allocations: 8.125 MB / 0.5821 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08716/0.713, allocations: 36.44 MB / 0.6177 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.7277, allocations: 3.67 MB / 0.6213 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004679/0.7324, allocations: 2.08 MB / 0.6233 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007575/0.7332, allocations: 336 kB / 0.6236 GB, free: 15.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.7333, allocations: 51.56 kB / 0.6237 GB, free: 15.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 9.438e-06/0.7334, allocations: 0 / 0.6237 GB, free: 15.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.07897/0.8124, allocations: 16.18 MB / 0.6395 GB, free: 14.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.8126, allocations: 179.2 kB / 0.6396 GB, free: 14.63 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/0.8254, allocations: 3.611 MB / 0.6432 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007024/0.8262, allocations: 49.7 kB / 0.6432 GB, free: 10.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004028/0.8303, allocations: 2.807 MB / 0.646 GB, free: 8.125 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/0.832, allocations: 0.6787 MB / 0.6466 GB, free: 7.438 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.8331, allocations: 112 kB / 0.6467 GB, free: 7.328 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008796/0.834, allocations: 0.5456 MB / 0.6473 GB, free: 6.773 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007229/0.8413, allocations: 2.271 MB / 0.6495 GB, free: 4.496 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/0.8524, allocations: 5.615 MB / 0.655 GB, free: 13.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/0.872, allocations: 8.525 MB / 0.6633 GB, free: 3.039 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002505/0.8724, allocations: 32 kB / 0.6633 GB, free: 3.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.03114/0.9035, allocations: 8.727 MB / 0.6718 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.9038, allocations: 56 kB / 0.6719 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003026/0.9042, allocations: 116 kB / 0.672 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006155/0.9103, allocations: 1.219 MB / 0.6732 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/0.9181, allocations: 1.294 MB / 0.6745 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.9346, allocations: 7.16 MB / 0.6815 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2846/1.219, allocations: 332.6 kB / 0.6818 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001929/1.221, allocations: 337.8 kB / 0.6821 GB, free: 151.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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.006554/1.228, allocations: 1.971 MB / 0.684 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009053/1.229, allocations: 315.8 kB / 0.6843 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008627/1.237, allocations: 3.93 MB / 0.6882 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.248e-05/1.237, allocations: 20.7 kB / 0.6882 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-05/1.237, allocations: 6.094 kB / 0.6882 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/1.238, allocations: 13.47 kB / 0.6882 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.255, allocations: 9.021 MB / 0.697 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.255, allocations: 3.453 kB / 0.697 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.257, allocations: 273.5 kB / 0.6973 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.259, allocations: 1.062 MB / 0.6983 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/1.259, allocations: 26.75 kB / 0.6983 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/1.267, allocations: 6.712 MB / 0.7049 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.267, allocations: 6.688 kB / 0.7049 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009588/1.277, allocations: 6.822 MB / 0.7116 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.279, allocations: 0.689 MB / 0.7122 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004681/1.279, allocations: 29.98 kB / 0.7123 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.28, allocations: 116.5 kB / 0.7124 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/1.281, allocations: 103.2 kB / 0.7125 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.281, allocations: 44.5 kB / 0.7125 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003396/1.284, allocations: 2.251 MB / 0.7147 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.284, allocations: 0 / 0.7147 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005133/1.289, allocations: 0.9644 MB / 0.7156 GB, free: 140.4 MB / 0.4948 GB 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 (137): * Single equations (assignments): 133 * 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.0004924/1.29, allocations: 170.1 kB / 0.7158 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01025/1.3, allocations: 5.47 MB / 0.7212 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.3, allocations: 0.7656 kB / 0.7212 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003862/1.304, allocations: 2.033 MB / 0.7231 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/1.308, allocations: 380 kB / 0.7235 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.33, allocations: 10.94 MB / 0.7342 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00515/1.335, allocations: 3.064 MB / 0.7372 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005374/1.34, allocations: 1.801 MB / 0.7389 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.342, allocations: 236.2 kB / 0.7392 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/1.342, allocations: 0 / 0.7392 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.06712/1.409, allocations: 36.62 MB / 0.7749 GB, free: 95.99 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches