Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 187 kB / 16.63 MB, free: 5.137 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.282/1.282, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001022/0.001022, allocations: 92.92 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.3414/0.3414, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.125, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2728/0.3979, allocations: 41.69 MB / 0.5163 GB, free: 36.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.42, allocations: 9.251 MB / 0.5253 GB, free: 33.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/0.4309, allocations: 176.2 kB / 0.5255 GB, free: 33.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004517/0.4355, allocations: 2.298 MB / 0.5278 GB, free: 32.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.4407, allocations: 1.62 MB / 0.5293 GB, free: 32.28 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.4425, allocations: 0.6413 MB / 0.53 GB, free: 32.05 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00647/0.449, allocations: 5.493 MB / 0.5353 GB, free: 30.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/0.4532, allocations: 2.91 MB / 0.5382 GB, free: 29.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.4555, allocations: 1.203 MB / 0.5393 GB, free: 29.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.4583, allocations: 1.982 MB / 0.5413 GB, free: 28.4 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006558/0.459, allocations: 203.9 kB / 0.5415 GB, free: 28.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.4613, allocations: 1.139 MB / 0.5426 GB, free: 28.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.4627, allocations: 1.647 MB / 0.5442 GB, free: 27.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.4647, allocations: 1.937 MB / 0.5461 GB, free: 26.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008928/0.4736, allocations: 6.455 MB / 0.5524 GB, free: 23.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.4737, allocations: 4 kB / 0.5524 GB, free: 23.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4737, allocations: 0 / 0.5524 GB, free: 23.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002957/0.474, allocations: 1.062 kB / 0.5524 GB, free: 23.98 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01337/0.4874, allocations: 4.421 MB / 0.5567 GB, free: 21.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.4874, allocations: 9.875 kB / 0.5567 GB, free: 21.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009671/0.4971, allocations: 2.058 MB / 0.5587 GB, free: 20.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007223/0.5044, allocations: 2.455 MB / 0.5611 GB, free: 19.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.5046, allocations: 206.8 kB / 0.5613 GB, free: 18.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.5059, allocations: 284.2 kB / 0.5616 GB, free: 18.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.5243, allocations: 9.28 MB / 0.5707 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5245, allocations: 33.75 kB / 0.5707 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.5248, allocations: 139.9 kB / 0.5708 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/0.5281, allocations: 1.917 MB / 0.5727 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.5423, allocations: 8.175 MB / 0.5807 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04935/0.5917, allocations: 36.4 MB / 0.6162 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.5994, allocations: 3.682 MB / 0.6198 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/0.6021, allocations: 2.083 MB / 0.6219 GB, free: 9.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/0.6025, allocations: 340 kB / 0.6222 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.6025, allocations: 51.48 kB / 0.6222 GB, free: 9.098 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 4.959e-06/0.6025, allocations: 0 / 0.6222 GB, free: 9.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.03912/0.6417, allocations: 16.2 MB / 0.6381 GB, free: 8.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6418, allocations: 175.2 kB / 0.6382 GB, free: 8.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005369/0.6472, allocations: 3.643 MB / 0.6418 GB, free: 4.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004208/0.6476, allocations: 53.69 kB / 0.6418 GB, free: 4.875 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002064/0.6497, allocations: 2.799 MB / 0.6446 GB, free: 2.039 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008137/0.6505, allocations: 0.6788 MB / 0.6452 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.6521, allocations: 1.158 MB / 0.6464 GB, free: 184 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6522, allocations: 305.1 kB / 0.6467 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/0.6554, allocations: 2.303 MB / 0.6489 GB, free: 13.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005564/0.6609, allocations: 5.635 MB / 0.6544 GB, free: 6.266 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008965/0.6699, allocations: 8.55 MB / 0.6628 GB, free: 12.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-05/0.67, allocations: 32 kB / 0.6628 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01361/0.6836, allocations: 8.771 MB / 0.6713 GB, free: 3.242 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.778e-05/0.6837, allocations: 59.94 kB / 0.6714 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.6838, allocations: 116 kB / 0.6715 GB, free: 3.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/0.6867, allocations: 1.222 MB / 0.6727 GB, free: 1.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/0.6905, allocations: 1.294 MB / 0.674 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009431/0.7, allocations: 7.199 MB / 0.681 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/0.7052, allocations: 335.4 kB / 0.6813 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/0.7065, allocations: 344 kB / 0.6817 GB, free: 8.551 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.00494/0.7115, allocations: 1.973 MB / 0.6836 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.7127, allocations: 319.9 kB / 0.6839 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008086/0.7208, allocations: 3.929 MB / 0.6877 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/0.7209, allocations: 20 kB / 0.6877 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.7209, allocations: 7.984 kB / 0.6877 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.7209, allocations: 4.266 kB / 0.6878 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2885/1.009, allocations: 9.029 MB / 0.6966 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.009, allocations: 0.7812 kB / 0.6966 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.011, allocations: 276.4 kB / 0.6968 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/1.014, allocations: 1.059 MB / 0.6979 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.014, allocations: 30.97 kB / 0.6979 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008431/1.023, allocations: 6.706 MB / 0.7044 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.023, allocations: 3.219 kB / 0.7044 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06913/1.092, allocations: 44.94 MB / 0.7483 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.093, allocations: 0.6775 MB / 0.749 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/1.094, allocations: 31.17 kB / 0.749 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.095, allocations: 115.7 kB / 0.7491 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/1.095, allocations: 96.89 kB / 0.7492 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.095, allocations: 41.03 kB / 0.7493 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003194/1.099, allocations: 2.286 MB / 0.7515 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.099, allocations: 0 / 0.7515 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004877/1.103, allocations: 1.291 MB / 0.7528 GB, free: 100.1 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.0005054/1.104, allocations: 160.1 kB / 0.7529 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006867/1.111, allocations: 5.469 MB / 0.7583 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.111, allocations: 320 / 0.7583 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/1.114, allocations: 2.044 MB / 0.7603 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/1.116, allocations: 372.5 kB / 0.7606 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.136, allocations: 12.52 MB / 0.7728 GB, free: 80.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/1.14, allocations: 3.135 MB / 0.7759 GB, free: 77.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004299/1.144, allocations: 1.845 MB / 0.7777 GB, free: 75.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/1.145, allocations: 235.4 kB / 0.7779 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.71e-07/1.145, allocations: 0 / 0.7779 GB, free: 75.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.07859/1.223, allocations: 48.97 MB / 0.8257 GB, free: 26.27 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@2/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