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.001611/0.001611, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002106/0.002106, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2499/0.2499, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.002097/0.002097, allocations: 67.91 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01199/0.4446, allocations: 8.369 MB / 0.5693 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009203/0.4538, allocations: 3.62 MB / 0.5728 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.4562, allocations: 63.69 kB / 0.5728 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.4618, allocations: 2.223 MB / 0.575 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.4673, allocations: 1.666 MB / 0.5766 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.4694, allocations: 0.6901 MB / 0.5773 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.4756, allocations: 3.813 MB / 0.581 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003974/0.4796, allocations: 2.323 MB / 0.5833 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.4825, allocations: 1.316 MB / 0.5846 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.4861, allocations: 1.857 MB / 0.5864 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.4872, allocations: 284 kB / 0.5867 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.4899, allocations: 1.069 MB / 0.5877 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002626/0.4926, allocations: 1.62 MB / 0.5893 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.4963, allocations: 1.359 MB / 0.5906 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5067, allocations: 6.257 MB / 0.5967 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5067, allocations: 0 / 0.5967 GB, free: 15.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.5067, allocations: 0 / 0.5967 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002184/0.5069, allocations: 0 / 0.5967 GB, free: 15.46 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.01218/0.5191, allocations: 4.183 MB / 0.6008 GB, free: 11.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5191, allocations: 12.03 kB / 0.6008 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009003/0.5281, allocations: 2.019 MB / 0.6028 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007734/0.5358, allocations: 2.275 MB / 0.605 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.5362, allocations: 193.3 kB / 0.6052 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.5378, allocations: 267.9 kB / 0.6055 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.5586, allocations: 8.605 MB / 0.6139 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001989/0.5588, allocations: 35.7 kB / 0.6139 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/0.5599, allocations: 127.9 kB / 0.614 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003489/0.5634, allocations: 1.746 MB / 0.6157 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.5805, allocations: 7.537 MB / 0.6231 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0544/0.6349, allocations: 31.99 MB / 0.6543 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/0.6426, allocations: 2.52 MB / 0.6568 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/0.6456, allocations: 1.769 MB / 0.6585 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.646, allocations: 96.44 kB / 0.6586 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.646, allocations: 55.14 kB / 0.6587 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 6.843e-06/0.646, allocations: 0 / 0.6587 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04469/0.6907, allocations: 15.3 MB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.6909, allocations: 175.2 kB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00617/0.697, allocations: 3.263 MB / 0.677 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.6974, allocations: 45.7 kB / 0.677 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002767/0.7002, allocations: 2.774 MB / 0.6797 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/0.7012, allocations: 0.6397 MB / 0.6803 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/0.7036, allocations: 1.103 MB / 0.6814 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7037, allocations: 301.1 kB / 0.6817 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.7072, allocations: 2.13 MB / 0.6838 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006229/0.7134, allocations: 5.362 MB / 0.689 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.7245, allocations: 8.032 MB / 0.6969 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.7246, allocations: 32 kB / 0.6969 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01768/0.7423, allocations: 8.252 MB / 0.705 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.7425, allocations: 55.44 kB / 0.705 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/0.7427, allocations: 112 kB / 0.7051 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.7461, allocations: 1.226 MB / 0.7063 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/0.7506, allocations: 1.209 MB / 0.7075 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.7621, allocations: 7.403 MB / 0.7147 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/0.7667, allocations: 311.6 kB / 0.715 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/0.7679, allocations: 328 kB / 0.7153 GB, free: 0.7852 MB / 0.545 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.004344/0.7722, allocations: 1.848 MB / 0.7171 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008292/0.7731, allocations: 289.9 kB / 0.7174 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/0.7801, allocations: 3.518 MB / 0.7209 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.095e-05/0.7801, allocations: 20 kB / 0.7209 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.7801, allocations: 7.984 kB / 0.7209 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.7802, allocations: 3.984 kB / 0.7209 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.7959, allocations: 7.174 MB / 0.7279 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.7959, allocations: 0 / 0.7279 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.797, allocations: 235.6 kB / 0.7281 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.7999, allocations: 1.058 MB / 0.7292 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.8001, allocations: 28 kB / 0.7292 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4132/1.213, allocations: 7.046 MB / 0.7361 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.213, allocations: 4.844 kB / 0.7361 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/1.227, allocations: 6.243 MB / 0.7422 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.229, allocations: 253 kB / 0.7424 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.23, allocations: 34.92 kB / 0.7424 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.232, allocations: 98.75 kB / 0.7425 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004964/1.233, allocations: 89.25 kB / 0.7426 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.233, allocations: 45.41 kB / 0.7427 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004956/1.238, allocations: 1.882 MB / 0.7445 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.238, allocations: 0 / 0.7445 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009864/1.248, allocations: 0.8842 MB / 0.7454 GB, free: 149.6 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.001037/1.249, allocations: 152.8 kB / 0.7455 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.26, allocations: 4.937 MB / 0.7503 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.26, allocations: 0 / 0.7503 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003947/1.264, allocations: 1.737 MB / 0.752 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.268, allocations: 340 kB / 0.7523 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.292, allocations: 8.424 MB / 0.7606 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006172/1.298, allocations: 2.339 MB / 0.7629 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006501/1.305, allocations: 1.669 MB / 0.7645 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.306, allocations: 199.4 kB / 0.7647 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/1.306, allocations: 3.828 kB / 0.7647 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.08417/1.39, allocations: 36.41 MB / 0.8002 GB, free: 97.67 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.586012791842222]