Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 215 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2843/0.2843, allocations: 46.94 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 67.91 kB / 0.4967 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4223, allocations: 66.03 MB / 0.5611 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01414/0.4364, allocations: 9.54 MB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009988/0.4464, allocations: 3.858 MB / 0.5742 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.4482, allocations: 63.69 kB / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005292/0.4535, allocations: 2.32 MB / 0.5765 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.4589, allocations: 1.646 MB / 0.5782 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.461, allocations: 0.694 MB / 0.5788 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006505/0.4675, allocations: 3.821 MB / 0.5826 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004156/0.4717, allocations: 2.308 MB / 0.5848 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4748, allocations: 1.312 MB / 0.5861 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.4785, allocations: 1.865 MB / 0.5879 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.4795, allocations: 280 kB / 0.5882 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.4827, allocations: 1.19 MB / 0.5893 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00273/0.4855, allocations: 1.624 MB / 0.5909 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.4891, allocations: 1.856 MB / 0.5927 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4996, allocations: 6.24 MB / 0.5988 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4996, allocations: 3.938 kB / 0.5988 GB, free: 13.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4996, allocations: 0 / 0.5988 GB, free: 13.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.4999, allocations: 0 / 0.5988 GB, free: 13.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.01474/0.5146, allocations: 4.183 MB / 0.6029 GB, free: 9.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.5147, allocations: 8.031 kB / 0.6029 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009371/0.5241, allocations: 2.019 MB / 0.6049 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007192/0.5312, allocations: 2.267 MB / 0.6071 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.5315, allocations: 193.3 kB / 0.6073 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.5329, allocations: 271.9 kB / 0.6076 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.5519, allocations: 8.584 MB / 0.6159 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.5521, allocations: 43.62 kB / 0.616 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.5531, allocations: 123.9 kB / 0.6161 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004137/0.5572, allocations: 1.731 MB / 0.6178 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.5744, allocations: 7.576 MB / 0.6252 GB, free: 1.883 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05379/0.6282, allocations: 34.12 MB / 0.6585 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007356/0.6355, allocations: 2.524 MB / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/0.6384, allocations: 1.77 MB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.6388, allocations: 104.4 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.6389, allocations: 47.16 kB / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.659e-06/0.6389, allocations: 0 / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04481/0.6837, allocations: 15.29 MB / 0.6778 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.6839, allocations: 167.3 kB / 0.6779 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00904/0.6929, allocations: 3.528 MB / 0.6814 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006143/0.6935, allocations: 49.7 kB / 0.6814 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002818/0.6963, allocations: 2.753 MB / 0.6841 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.6975, allocations: 0.6319 MB / 0.6847 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003159/0.7007, allocations: 1.103 MB / 0.6858 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7008, allocations: 305.1 kB / 0.6861 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/0.7046, allocations: 2.119 MB / 0.6882 GB, free: 180 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/0.7117, allocations: 5.337 MB / 0.6934 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.7237, allocations: 8.035 MB / 0.7012 GB, free: 15.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.7238, allocations: 35.98 kB / 0.7013 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01705/0.7409, allocations: 8.291 MB / 0.7094 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.741, allocations: 52 kB / 0.7094 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/0.7412, allocations: 112 kB / 0.7095 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/0.7444, allocations: 1.226 MB / 0.7107 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/0.7486, allocations: 1.213 MB / 0.7119 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.7599, allocations: 7.491 MB / 0.7192 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.7645, allocations: 323.5 kB / 0.7195 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/0.7659, allocations: 328 kB / 0.7198 GB, free: 12.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004841/0.7707, allocations: 1.845 MB / 0.7216 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.7717, allocations: 317.9 kB / 0.7219 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/0.7789, allocations: 3.557 MB / 0.7254 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/0.7789, allocations: 19.98 kB / 0.7254 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.7789, allocations: 8 kB / 0.7254 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.779, allocations: 11.91 kB / 0.7255 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3608/1.14, allocations: 8.125 MB / 0.7334 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.14, allocations: 4.531 kB / 0.7334 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.141, allocations: 228 kB / 0.7336 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/1.144, allocations: 1.07 MB / 0.7347 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/1.144, allocations: 22.75 kB / 0.7347 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00847/1.153, allocations: 7.157 MB / 0.7417 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.153, allocations: 3.625 kB / 0.7417 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/1.161, allocations: 6.275 MB / 0.7478 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/1.161, allocations: 302.9 kB / 0.7481 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.162, allocations: 23.83 kB / 0.7481 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/1.163, allocations: 104 kB / 0.7482 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/1.163, allocations: 93.94 kB / 0.7483 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.163, allocations: 39.56 kB / 0.7483 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003848/1.167, allocations: 2.195 MB / 0.7505 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.167, allocations: 2.719 kB / 0.7505 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004304/1.172, allocations: 0.8931 MB / 0.7514 GB, free: 145.8 MB / 0.5606 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 (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.0003755/1.172, allocations: 149.9 kB / 0.7515 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005999/1.178, allocations: 4.945 MB / 0.7563 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.178, allocations: 0 / 0.7563 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.18, allocations: 1.736 MB / 0.758 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.182, allocations: 382.2 kB / 0.7584 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.194, allocations: 8.49 MB / 0.7667 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/1.196, allocations: 2.885 MB / 0.7695 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003092/1.199, allocations: 1.71 MB / 0.7712 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/1.2, allocations: 219.4 kB / 0.7714 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.2, allocations: 0 / 0.7714 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.05898/1.259, allocations: 37.51 MB / 0.808 GB, free: 89.63 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.729546126909554]