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.00169/0.00169, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002083/0.002083, allocations: 208 kB / 23.72 MB, free: 4.391 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.252/0.252, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.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.002192/0.002192, allocations: 67.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3733, allocations: 65.48 MB / 0.5575 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01187/0.3851, allocations: 8.376 MB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00946/0.3946, allocations: 3.617 MB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3976, allocations: 63.69 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005764/0.4034, allocations: 2.231 MB / 0.5714 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00525/0.4086, allocations: 1.65 MB / 0.573 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.4103, allocations: 0.694 MB / 0.5737 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.4161, allocations: 3.814 MB / 0.5774 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.4192, allocations: 2.3 MB / 0.5797 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.4214, allocations: 1.312 MB / 0.581 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.424, allocations: 1.76 MB / 0.5827 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007379/0.4248, allocations: 280 kB / 0.5829 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.427, allocations: 1.061 MB / 0.584 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.4288, allocations: 1.617 MB / 0.5856 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.4306, allocations: 1.367 MB / 0.5869 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009452/0.4401, allocations: 6.26 MB / 0.593 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4401, allocations: 0 / 0.593 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4401, allocations: 0 / 0.593 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.4402, allocations: 0 / 0.593 GB, free: 2.93 MB / 430.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.01038/0.4506, allocations: 4.179 MB / 0.5971 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4506, allocations: 8.031 kB / 0.5971 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00818/0.4588, allocations: 2.022 MB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006329/0.4652, allocations: 2.279 MB / 0.6013 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.4653, allocations: 193.3 kB / 0.6015 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008776/0.4662, allocations: 264 kB / 0.6017 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.4811, allocations: 8.609 MB / 0.6101 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.4812, allocations: 39.64 kB / 0.6102 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.4815, allocations: 123.9 kB / 0.6103 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003137/0.4847, allocations: 1.746 MB / 0.612 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.4992, allocations: 7.537 MB / 0.6194 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/0.5445, allocations: 32 MB / 0.6506 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.5514, allocations: 2.501 MB / 0.653 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.5543, allocations: 1.766 MB / 0.6548 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.5546, allocations: 96.44 kB / 0.6549 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.5547, allocations: 51.16 kB / 0.6549 GB, free: 1.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.258e-06/0.5547, allocations: 112 / 0.6549 GB, free: 1.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.04193/0.5966, allocations: 15.31 MB / 0.6699 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.5967, allocations: 171.2 kB / 0.67 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/0.6027, allocations: 3.271 MB / 0.6732 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004844/0.6031, allocations: 45.7 kB / 0.6733 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/0.6059, allocations: 2.774 MB / 0.676 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.6069, allocations: 0.6358 MB / 0.6766 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.6089, allocations: 1.107 MB / 0.6777 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6091, allocations: 301.1 kB / 0.678 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003595/0.6127, allocations: 2.119 MB / 0.68 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.6192, allocations: 5.366 MB / 0.6853 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.6301, allocations: 8.035 MB / 0.6931 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.359e-05/0.6302, allocations: 32 kB / 0.6931 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01577/0.646, allocations: 8.249 MB / 0.7012 GB, free: 14.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.096e-05/0.6461, allocations: 56 kB / 0.7013 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/0.6462, allocations: 112 kB / 0.7014 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/0.6495, allocations: 1.226 MB / 0.7026 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/0.6537, allocations: 1.216 MB / 0.7038 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6649, allocations: 7.404 MB / 0.711 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/0.6693, allocations: 315.6 kB / 0.7113 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.6704, allocations: 328 kB / 0.7116 GB, free: 4.246 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.004011/0.6744, allocations: 1.851 MB / 0.7134 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/0.6752, allocations: 278.1 kB / 0.7137 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/0.6826, allocations: 3.534 MB / 0.7171 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-05/0.6827, allocations: 16 kB / 0.7171 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/0.6827, allocations: 8 kB / 0.7171 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.689e-05/0.6827, allocations: 7.969 kB / 0.7171 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.7002, allocations: 7.166 MB / 0.7241 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.7002, allocations: 4 kB / 0.7242 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.7014, allocations: 227.6 kB / 0.7244 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00295/0.7044, allocations: 1.062 MB / 0.7254 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.7046, allocations: 24 kB / 0.7254 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3059/1.01, allocations: 7.064 MB / 0.7323 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.01, allocations: 1.406 kB / 0.7323 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/1.02, allocations: 6.244 MB / 0.7384 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/1.021, allocations: 256.8 kB / 0.7387 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/1.021, allocations: 23.81 kB / 0.7387 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.022, allocations: 103.1 kB / 0.7388 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.022, allocations: 96.27 kB / 0.7389 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.022, allocations: 39.39 kB / 0.7389 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002361/1.025, allocations: 1.883 MB / 0.7408 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 2.625 kB / 0.7408 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004062/1.029, allocations: 0.8805 MB / 0.7416 GB, free: 153 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.0003745/1.029, allocations: 151.7 kB / 0.7418 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006607/1.036, allocations: 4.933 MB / 0.7466 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.036, allocations: 2 kB / 0.7466 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/1.038, allocations: 1.743 MB / 0.7483 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.041, allocations: 320.2 kB / 0.7486 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.053, allocations: 8.429 MB / 0.7568 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.055, allocations: 2.333 MB / 0.7591 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003072/1.058, allocations: 1.674 MB / 0.7607 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/1.059, allocations: 203.4 kB / 0.7609 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.059, allocations: 0 / 0.7609 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05162/1.11, allocations: 34.08 MB / 0.7942 GB, free: 105.1 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/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.359433334320784]