Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001347/0.001347, allocations: 69.8 kB / 21.24 MB, free: 0.5547 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.001653/0.001653, allocations: 163 kB / 24.5 MB, free: 3.711 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.456/1.456, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 32.81 MB / 294.1 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 66.69 kB / 440.6 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3278, allocations: 65.44 MB / 0.4942 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007353/0.3351, allocations: 8.386 MB / 0.5023 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006569/0.3417, allocations: 3.615 MB / 0.5059 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3429, allocations: 64.38 kB / 0.5059 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.3463, allocations: 2.22 MB / 0.5081 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.3495, allocations: 1.659 MB / 0.5097 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3507, allocations: 0.6999 MB / 0.5104 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.3553, allocations: 3.805 MB / 0.5141 GB, free: 20.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.3583, allocations: 2.3 MB / 0.5164 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.3609, allocations: 1.319 MB / 0.5177 GB, free: 18.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.364, allocations: 1.755 MB / 0.5194 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007754/0.3647, allocations: 281.7 kB / 0.5196 GB, free: 18.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.3673, allocations: 1.062 MB / 0.5207 GB, free: 17.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.3693, allocations: 1.622 MB / 0.5223 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.3713, allocations: 1.355 MB / 0.5236 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.3819, allocations: 6.257 MB / 0.5297 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3819, allocations: 0 / 0.5297 GB, free: 14.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.3819, allocations: 0 / 0.5297 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002543/0.3822, allocations: 1.188 kB / 0.5297 GB, free: 14.18 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.01179/0.394, allocations: 4.187 MB / 0.5338 GB, free: 11.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.394, allocations: 13.56 kB / 0.5338 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/0.4025, allocations: 2.075 MB / 0.5358 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005837/0.4083, allocations: 2.266 MB / 0.538 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.4084, allocations: 198.8 kB / 0.5382 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006497/0.4091, allocations: 268.8 kB / 0.5385 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.4229, allocations: 8.605 MB / 0.5469 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.423, allocations: 47.64 kB / 0.5469 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/0.4234, allocations: 127.9 kB / 0.5471 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003454/0.4268, allocations: 1.731 MB / 0.5487 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.4498, allocations: 7.545 MB / 0.5561 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06448/0.5143, allocations: 32.09 MB / 0.5874 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.5255, allocations: 2.591 MB / 0.59 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/0.5296, allocations: 1.77 MB / 0.5917 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.53, allocations: 100.4 kB / 0.5918 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.5301, allocations: 43.22 kB / 0.5918 GB, free: 3.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 6.271e-06/0.5301, allocations: 0 / 0.5918 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04416/0.5743, allocations: 15.61 MB / 0.6071 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.5744, allocations: 171.2 kB / 0.6072 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.5794, allocations: 3.267 MB / 0.6104 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.5797, allocations: 49.7 kB / 0.6105 GB, free: 100 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.5822, allocations: 2.774 MB / 0.6132 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/0.5831, allocations: 0.636 MB / 0.6138 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.5848, allocations: 1.115 MB / 0.6149 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.585, allocations: 305.1 kB / 0.6152 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/0.5884, allocations: 2.119 MB / 0.6173 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006719/0.5951, allocations: 5.362 MB / 0.6225 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.6062, allocations: 8.037 MB / 0.6303 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.6064, allocations: 32 kB / 0.6304 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01763/0.624, allocations: 8.26 MB / 0.6384 GB, free: 204 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.6241, allocations: 52 kB / 0.6385 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/0.6243, allocations: 112.8 kB / 0.6386 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/0.6278, allocations: 1.227 MB / 0.6398 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/0.6324, allocations: 1.209 MB / 0.641 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.6442, allocations: 7.399 MB / 0.6482 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/0.6485, allocations: 307.6 kB / 0.6485 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.6497, allocations: 332 kB / 0.6488 GB, free: 5.477 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.004667/0.6544, allocations: 1.856 MB / 0.6506 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009088/0.6553, allocations: 282.1 kB / 0.6509 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007842/0.6631, allocations: 3.526 MB / 0.6543 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/0.6632, allocations: 19.98 kB / 0.6544 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/0.6632, allocations: 8 kB / 0.6544 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.6632, allocations: 3.984 kB / 0.6544 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.6811, allocations: 7.183 MB / 0.6614 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.6811, allocations: 0 / 0.6614 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.6824, allocations: 231.6 kB / 0.6616 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/0.6854, allocations: 1.058 MB / 0.6626 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/0.6857, allocations: 27.98 kB / 0.6627 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.6966, allocations: 7.076 MB / 0.6696 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6966, allocations: 0 / 0.6696 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.7079, allocations: 6.243 MB / 0.6757 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/0.7089, allocations: 246 kB / 0.6759 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007204/0.7096, allocations: 27.94 kB / 0.6759 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.7112, allocations: 103.8 kB / 0.676 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.7116, allocations: 84.83 kB / 0.6761 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.7117, allocations: 43.98 kB / 0.6762 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004018/0.7157, allocations: 1.877 MB / 0.678 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7157, allocations: 3.938 kB / 0.678 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00546/0.7212, allocations: 0.8905 MB / 0.6789 GB, free: 6.484 MB / 0.5762 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.0005402/0.7217, allocations: 143 kB / 0.679 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009751/0.7315, allocations: 4.95 MB / 0.6838 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7315, allocations: 4 kB / 0.6838 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.7348, allocations: 1.737 MB / 0.6855 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.7373, allocations: 338.9 kB / 0.6859 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.7549, allocations: 8.413 MB / 0.6941 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.7589, allocations: 2.341 MB / 0.6964 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004009/0.7629, allocations: 1.673 MB / 0.698 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.7636, allocations: 192.5 kB / 0.6982 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/0.7636, allocations: 0 / 0.6982 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.3152/1.079, allocations: 30.39 MB / 0.7279 GB, free: 163.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.013263422995806]