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.002595/0.002595, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003031/0.003031, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 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.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3666/0.3666, allocations: 32.81 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.754e-05, allocations: 5.828 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01466/0.0147, allocations: 9.138 MB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009952/0.02465, allocations: 3.722 MB / 388.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.0268, allocations: 67.69 kB / 388.2 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.03267, allocations: 2.453 MB / 390.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005666/0.03834, allocations: 1.695 MB / 392.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.04053, allocations: 0.7678 MB / 393.1 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00721/0.04774, allocations: 4.199 MB / 397.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004594/0.05234, allocations: 2.656 MB / 400 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.05693, allocations: 1.984 MB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.06091, allocations: 1.909 MB / 403.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008728/0.06179, allocations: 284 kB / 404.1 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.06433, allocations: 1.108 MB / 405.2 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.06655, allocations: 1.703 MB / 406.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002054/0.0686, allocations: 1.075 MB / 408 MB, free: 4.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009236/0.07784, allocations: 6.312 MB / 414.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.07784, allocations: 3.938 kB / 414.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07784, allocations: 0 / 414.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001998/0.07804, allocations: 0 / 414.3 MB, free: 13.74 MB / 394.7 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.01233/0.09038, allocations: 4.934 MB / 419.3 MB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.09042, allocations: 8.031 kB / 419.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00993/0.1003, allocations: 2.413 MB / 421.7 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.1067, allocations: 2.105 MB / 423.8 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.1069, allocations: 197.2 kB / 424 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007497/0.1076, allocations: 256.2 kB / 424.2 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.1203, allocations: 5.545 MB / 429.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.1204, allocations: 35.7 kB / 429.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.1207, allocations: 131.9 kB / 430 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003593/0.1243, allocations: 1.731 MB / 431.7 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.1353, allocations: 3.125 MB / 434.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2498/0.3852, allocations: 40.91 MB / 475.7 MB, free: 65.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.3901, allocations: 1.46 MB / 477.2 MB, free: 64.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.3911, allocations: 0.5559 MB / 477.7 MB, free: 64.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.3913, allocations: 107.5 kB / 477.8 MB, free: 64.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3914, allocations: 48.48 kB / 477.9 MB, free: 64.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 5.31e-06/0.3914, allocations: 8.625 kB / 477.9 MB, free: 64.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.03122/0.4226, allocations: 10.77 MB / 488.7 MB, free: 61.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.4227, allocations: 180.5 kB / 488.8 MB, free: 60.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.4272, allocations: 3.78 MB / 492.6 MB, free: 59.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.4274, allocations: 45.27 kB / 492.7 MB, free: 59.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.4289, allocations: 3.088 MB / 495.7 MB, free: 57.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007567/0.4296, allocations: 0.7081 MB / 496.5 MB, free: 56.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.4315, allocations: 1.386 MB / 497.8 MB, free: 55.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.4316, allocations: 480.7 kB / 498.3 MB, free: 55.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.4334, allocations: 0.7199 MB / 499 MB, free: 55.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/0.4379, allocations: 5.686 MB / 0.4929 GB, free: 48.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006833/0.4447, allocations: 7.039 MB / 0.4998 GB, free: 41.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/0.4449, allocations: 36.5 kB / 0.4998 GB, free: 41.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.0128/0.4577, allocations: 5.404 MB / 0.5051 GB, free: 39.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.4578, allocations: 56.31 kB / 0.5051 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.4579, allocations: 119.2 kB / 0.5052 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.4606, allocations: 0.7935 MB / 0.506 GB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003731/0.4643, allocations: 1.214 MB / 0.5072 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.47, allocations: 4.08 MB / 0.5112 GB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/0.4747, allocations: 348.5 kB / 0.5115 GB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008165/0.4755, allocations: 324.3 kB / 0.5118 GB, free: 35.95 MB / 410.7 MB 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.002377/0.4779, allocations: 0.6738 MB / 0.5125 GB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/0.4787, allocations: 324.5 kB / 0.5128 GB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.484, allocations: 1.803 MB / 0.5146 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.484, allocations: 20.66 kB / 0.5146 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.484, allocations: 3.188 kB / 0.5146 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.4841, allocations: 10.03 kB / 0.5146 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.499, allocations: 6.052 MB / 0.5205 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.499, allocations: 0 / 0.5205 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5001, allocations: 230.1 kB / 0.5207 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/0.5029, allocations: 0.6399 MB / 0.5213 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.5031, allocations: 24.98 kB / 0.5214 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/0.509, allocations: 3.81 MB / 0.5251 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.509, allocations: 7.453 kB / 0.5251 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00617/0.5152, allocations: 2.917 MB / 0.5279 GB, free: 23.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.5163, allocations: 277.2 kB / 0.5282 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007289/0.5171, allocations: 27.59 kB / 0.5282 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/0.5188, allocations: 129.9 kB / 0.5284 GB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.5191, allocations: 95.34 kB / 0.5285 GB, free: 23.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5193, allocations: 43.94 kB / 0.5285 GB, free: 23.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003151/0.5224, allocations: 1.54 MB / 0.53 GB, free: 22.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5224, allocations: 4 kB / 0.53 GB, free: 22.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00543/0.5278, allocations: 0.9645 MB / 0.5309 GB, free: 21.11 MB / 410.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 (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.0004936/0.5283, allocations: 167.2 kB / 0.5311 GB, free: 20.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.5345, allocations: 3.241 MB / 0.5343 GB, free: 18.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5346, allocations: 4 kB / 0.5343 GB, free: 18.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.5366, allocations: 1.084 MB / 0.5353 GB, free: 17.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/0.5391, allocations: 345 kB / 0.5357 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.552, allocations: 6.668 MB / 0.5422 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/0.5552, allocations: 2.116 MB / 0.5442 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003214/0.5584, allocations: 1.418 MB / 0.5456 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007227/0.5592, allocations: 204.5 kB / 0.5458 GB, free: 6.543 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5592, allocations: 0 / 0.5458 GB, free: 6.543 MB / 410.7 MB Notification: Performance of Templates: time 0.07614/0.6353, allocations: 31.89 MB / 0.577 GB, free: 7.066 MB / 442.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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.01514525199309]