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/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.002323/0.002323, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002643/0.002643, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2137/0.2137, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.1e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.00858/0.008611, allocations: 9.854 MB / 356.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.01884, allocations: 3.837 MB / 360.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.02143, allocations: 63.69 kB / 360.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005908/0.02733, allocations: 2.484 MB / 363.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.03356, allocations: 1.855 MB / 365 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.03619, allocations: 0.7678 MB / 365.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007997/0.04419, allocations: 4.184 MB / 370 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005465/0.04965, allocations: 2.757 MB / 372.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.0549, allocations: 2.124 MB / 374.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.05954, allocations: 2.05 MB / 376.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.06079, allocations: 312 kB / 377.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.06361, allocations: 1.143 MB / 378.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002751/0.06636, allocations: 1.843 MB / 380.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.06853, allocations: 1.164 MB / 381.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.08021, allocations: 6.865 MB / 388.2 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.08022, allocations: 0 / 388.2 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08022, allocations: 0 / 388.2 MB, free: 332 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002215/0.08044, allocations: 0 / 388.2 MB, free: 332 kB / 314.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.01291/0.09335, allocations: 5.256 MB / 393.5 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.09341, allocations: 12.03 kB / 393.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.1043, allocations: 2.51 MB / 396 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/0.1116, allocations: 2.207 MB / 398.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.1119, allocations: 209.6 kB / 398.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.1132, allocations: 276.1 kB / 398.7 MB, free: 5.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.1293, allocations: 5.937 MB / 404.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000156/0.1295, allocations: 47.64 kB / 404.7 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.1299, allocations: 131.9 kB / 404.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0041/0.134, allocations: 1.919 MB / 406.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.1469, allocations: 3.373 MB / 410.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3026/0.4495, allocations: 43.5 MB / 453.6 MB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006309/0.4559, allocations: 1.615 MB / 455.2 MB, free: 70.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.4574, allocations: 0.6178 MB / 455.8 MB, free: 70.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/0.4577, allocations: 105.8 kB / 455.9 MB, free: 70.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.4578, allocations: 56.2 kB / 456 MB, free: 70.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=156): time 5.239e-06/0.4578, allocations: 1.312 kB / 456 MB, free: 70.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=177): time 0.03314/0.491, allocations: 11.38 MB / 467.4 MB, free: 67.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.491, allocations: 172.1 kB / 467.6 MB, free: 67.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/0.4963, allocations: 3.943 MB / 471.5 MB, free: 66.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000529/0.4968, allocations: 51.47 kB / 471.5 MB, free: 66.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.4987, allocations: 3.262 MB / 474.8 MB, free: 64.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009232/0.4996, allocations: 0.7842 MB / 475.6 MB, free: 63.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.5013, allocations: 1.465 MB / 477.1 MB, free: 62.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.5014, allocations: 484.7 kB / 477.5 MB, free: 61.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.5031, allocations: 0.7828 MB / 478.3 MB, free: 61.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003608/0.5067, allocations: 5.96 MB / 484.3 MB, free: 52.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/0.5138, allocations: 7.446 MB / 491.7 MB, free: 43.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001735/0.514, allocations: 36 kB / 491.8 MB, free: 43.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01416/0.5282, allocations: 5.703 MB / 497.5 MB, free: 37.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.738e-05/0.5283, allocations: 61.66 kB / 497.5 MB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.5284, allocations: 116 kB / 497.6 MB, free: 37.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.531, allocations: 0.8062 MB / 498.4 MB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/0.5348, allocations: 1.291 MB / 499.7 MB, free: 35.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.5402, allocations: 4.13 MB / 0.492 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/0.5452, allocations: 363.5 kB / 0.4924 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007943/0.546, allocations: 344 kB / 0.4927 GB, free: 30.43 MB / 378.7 MB 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.00181/0.5478, allocations: 0.6991 MB / 0.4934 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/0.5485, allocations: 350 kB / 0.4937 GB, free: 29.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.5533, allocations: 2.007 MB / 0.4957 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/0.5533, allocations: 20 kB / 0.4957 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.5533, allocations: 4 kB / 0.4957 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.5533, allocations: 11.91 kB / 0.4957 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5673, allocations: 6.646 MB / 0.5022 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.5673, allocations: 8 kB / 0.5022 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.5686, allocations: 271.5 kB / 0.5025 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.571, allocations: 0.6392 MB / 0.5031 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/0.5712, allocations: 31.98 kB / 0.5031 GB, free: 19.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/0.5766, allocations: 3.832 MB / 0.5069 GB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5766, allocations: 4 kB / 0.5069 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00631/0.5829, allocations: 3.187 MB / 0.51 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/0.5852, allocations: 0.5564 MB / 0.5105 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006031/0.5858, allocations: 31.98 kB / 0.5106 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.5874, allocations: 147.8 kB / 0.5107 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.5877, allocations: 108.7 kB / 0.5108 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.5879, allocations: 51.83 kB / 0.5109 GB, free: 11.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002311/0.5902, allocations: 1.606 MB / 0.5124 GB, free: 10.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5902, allocations: 0 / 0.5124 GB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005528/0.5957, allocations: 1.066 MB / 0.5135 GB, free: 8.992 MB / 378.7 MB 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.0005626/0.5963, allocations: 190.4 kB / 0.5137 GB, free: 8.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00634/0.6026, allocations: 3.426 MB / 0.517 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6026, allocations: 0 / 0.517 GB, free: 5.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002296/0.6049, allocations: 1.182 MB / 0.5182 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.6074, allocations: 353.6 kB / 0.5185 GB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.622, allocations: 7.172 MB / 0.5255 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003687/0.6257, allocations: 2.283 MB / 0.5277 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004351/0.63, allocations: 1.491 MB / 0.5292 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00093/0.6309, allocations: 216.4 kB / 0.5294 GB, free: 8.602 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6309, allocations: 4 kB / 0.5294 GB, free: 8.598 MB / 394.7 MB Notification: Performance of Templates: time 0.07891/0.7098, allocations: 34.15 MB / 0.5627 GB, free: 6.562 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.851540133007802]