Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009805/0.0009805, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 162.4 kB / 24.99 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 205.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.322/0.322, allocations: 34.86 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 378.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.815e-05, allocations: 2.312 kB / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008057/0.008086, allocations: 9.178 MB / 387.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.01449, allocations: 3.738 MB / 391.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.01574, allocations: 67.69 kB / 391.7 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.01895, allocations: 2.437 MB / 394.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.02266, allocations: 1.711 MB / 395.9 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.02407, allocations: 0.7717 MB / 396.7 MB, free: 452 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.0289, allocations: 4.189 MB / 400.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.03257, allocations: 2.652 MB / 403.5 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.03653, allocations: 1.98 MB / 405.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.03974, allocations: 1.909 MB / 407.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008951/0.04063, allocations: 292 kB / 407.7 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.04248, allocations: 1.115 MB / 408.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.04412, allocations: 1.691 MB / 410.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.04584, allocations: 1.063 MB / 411.5 MB, free: 1.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.05064, allocations: 4.095 MB / 415.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.05065, allocations: 4 kB / 415.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.05065, allocations: 0 / 415.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000107/0.05076, allocations: 0 / 415.6 MB, free: 13.37 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.006093/0.05685, allocations: 4.532 MB / 420.2 MB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.05689, allocations: 11.97 kB / 420.2 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.06204, allocations: 2.421 MB / 422.6 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.06545, allocations: 2.066 MB / 424.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.06559, allocations: 193.3 kB / 424.9 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004976/0.06609, allocations: 268.1 kB / 425.1 MB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007859/0.07394, allocations: 5.139 MB / 430.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.985e-05/0.07403, allocations: 31.7 kB / 430.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.07435, allocations: 127.9 kB / 430.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.07635, allocations: 1.739 MB / 432.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006597/0.08295, allocations: 2.813 MB / 435 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.2977, allocations: 37.29 MB / 472.3 MB, free: 67.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.3009, allocations: 1.397 MB / 473.7 MB, free: 67.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.3016, allocations: 0.5469 MB / 474.2 MB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.3018, allocations: 103.8 kB / 474.3 MB, free: 67.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3018, allocations: 50.7 kB / 474.4 MB, free: 67.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.858e-06/0.3018, allocations: 0.8125 kB / 474.4 MB, free: 67.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01984/0.3217, allocations: 10.62 MB / 485 MB, free: 63.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.3217, allocations: 170.9 kB / 485.1 MB, free: 63.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002875/0.3246, allocations: 3.002 MB / 488.1 MB, free: 62.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.3247, allocations: 51.38 kB / 488.2 MB, free: 62.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3258, allocations: 2.902 MB / 491.1 MB, free: 60.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.3263, allocations: 0.6597 MB / 491.8 MB, free: 59.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009633/0.3272, allocations: 1.183 MB / 492.9 MB, free: 59.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.3273, allocations: 483.6 kB / 493.4 MB, free: 58.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3284, allocations: 0.6469 MB / 494.1 MB, free: 58.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/0.3311, allocations: 5.445 MB / 499.5 MB, free: 52.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.3365, allocations: 6.68 MB / 0.4943 GB, free: 44.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.3366, allocations: 31.81 kB / 0.4944 GB, free: 44.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.009426/0.346, allocations: 5.261 MB / 0.4995 GB, free: 43.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/0.3461, allocations: 52.78 kB / 0.4995 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.3463, allocations: 117 kB / 0.4997 GB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.3483, allocations: 0.7932 MB / 0.5004 GB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.351, allocations: 1.21 MB / 0.5016 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/0.355, allocations: 3.905 MB / 0.5054 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/0.359, allocations: 347.9 kB / 0.5058 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/0.3598, allocations: 322.5 kB / 0.5061 GB, free: 39.94 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.001877/0.3617, allocations: 0.5753 MB / 0.5066 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/0.3623, allocations: 329.1 kB / 0.5069 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.3653, allocations: 1.761 MB / 0.5087 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/0.3653, allocations: 16.44 kB / 0.5087 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.3654, allocations: 6.688 kB / 0.5087 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.3654, allocations: 12.05 kB / 0.5087 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007717/0.3731, allocations: 5.184 MB / 0.5138 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3731, allocations: 4 kB / 0.5138 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.3737, allocations: 230.2 kB / 0.514 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.3752, allocations: 0.6244 MB / 0.5146 GB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/0.3753, allocations: 29.5 kB / 0.5146 GB, free: 35.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/0.3788, allocations: 3.659 MB / 0.5182 GB, free: 32.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3788, allocations: 4 kB / 0.5182 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.3824, allocations: 2.772 MB / 0.5209 GB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.3829, allocations: 273.3 kB / 0.5212 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.3831, allocations: 28 kB / 0.5212 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007398/0.3838, allocations: 129.1 kB / 0.5213 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.3841, allocations: 87.5 kB / 0.5214 GB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.3841, allocations: 40 kB / 0.5214 GB, free: 29.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001469/0.3856, allocations: 1.285 MB / 0.5227 GB, free: 28.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 0 / 0.5227 GB, free: 28.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00345/0.3891, allocations: 0.9686 MB / 0.5236 GB, free: 27.68 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.0004041/0.3895, allocations: 164.8 kB / 0.5238 GB, free: 27.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004325/0.3938, allocations: 2.964 MB / 0.5267 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3938, allocations: 0 / 0.5267 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.3951, allocations: 1.021 MB / 0.5277 GB, free: 24.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.3967, allocations: 341.1 kB / 0.528 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.4076, allocations: 6.594 MB / 0.5344 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009312/0.4085, allocations: 1.059 MB / 0.5355 GB, free: 16.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002174/0.4107, allocations: 1.419 MB / 0.5369 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005619/0.4113, allocations: 204.4 kB / 0.5371 GB, free: 14.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.925e-06/0.4113, allocations: 0 / 0.5371 GB, free: 14.75 MB / 410.7 MB Notification: Performance of Templates: time 0.04278/0.454, allocations: 31.92 MB / 0.5682 GB, free: 15.28 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.415764298988506]