Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001882/0.001882, allocations: 74.17 kB / 21.24 MB, free: 0.5469 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.002147/0.002147, allocations: 157.9 kB / 24.5 MB, free: 3.719 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.477/1.477, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 34.27 MB / 295.5 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 443.2 MB, free: 6.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007503/0.3413, allocations: 8.372 MB / 0.5054 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005916/0.3472, allocations: 3.617 MB / 0.5089 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3483, allocations: 68.97 kB / 0.509 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003371/0.3517, allocations: 2.232 MB / 0.5112 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.355, allocations: 1.649 MB / 0.5128 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3565, allocations: 0.6929 MB / 0.5135 GB, free: 20.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004994/0.3615, allocations: 3.807 MB / 0.5172 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.3644, allocations: 2.307 MB / 0.5194 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.3669, allocations: 1.304 MB / 0.5207 GB, free: 16.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.3699, allocations: 1.767 MB / 0.5224 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000758/0.3706, allocations: 281 kB / 0.5227 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.3731, allocations: 1.054 MB / 0.5237 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.3752, allocations: 1.624 MB / 0.5253 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002423/0.3776, allocations: 1.357 MB / 0.5266 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008809/0.3864, allocations: 6.26 MB / 0.5328 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3865, allocations: 0 / 0.5328 GB, free: 11.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3865, allocations: 3.938 kB / 0.5328 GB, free: 11.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000274/0.3867, allocations: 1.219 kB / 0.5328 GB, free: 11.9 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.01264/0.3994, allocations: 4.186 MB / 0.5369 GB, free: 8.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3994, allocations: 9.5 kB / 0.5369 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008532/0.4079, allocations: 2.072 MB / 0.5389 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.4138, allocations: 2.273 MB / 0.5411 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.414, allocations: 194.1 kB / 0.5413 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007182/0.4147, allocations: 265 kB / 0.5415 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.4277, allocations: 8.615 MB / 0.55 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.4278, allocations: 35.7 kB / 0.55 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003773/0.4282, allocations: 123.9 kB / 0.5501 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003292/0.4315, allocations: 1.743 MB / 0.5518 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01507/0.4465, allocations: 7.541 MB / 0.5592 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04514/0.4917, allocations: 32.1 MB / 0.5905 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.4986, allocations: 2.591 MB / 0.593 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.501, allocations: 1.768 MB / 0.5948 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.5013, allocations: 96.39 kB / 0.5949 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.5013, allocations: 47.22 kB / 0.5949 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.706e-06/0.5013, allocations: 0 / 0.5949 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04218/0.5435, allocations: 15.62 MB / 0.6102 GB, free: 248 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.5436, allocations: 175.2 kB / 0.6103 GB, free: 36 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004928/0.5485, allocations: 3.259 MB / 0.6135 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003364/0.5489, allocations: 45.7 kB / 0.6136 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.551, allocations: 2.778 MB / 0.6163 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008036/0.5518, allocations: 0.6436 MB / 0.6169 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.5534, allocations: 1.103 MB / 0.618 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5535, allocations: 305.1 kB / 0.6183 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/0.5567, allocations: 2.123 MB / 0.6203 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.5628, allocations: 5.366 MB / 0.6256 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.5733, allocations: 8.035 MB / 0.6334 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.828e-05/0.5734, allocations: 36 kB / 0.6335 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01523/0.5886, allocations: 8.249 MB / 0.6415 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-05/0.5887, allocations: 56 kB / 0.6416 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/0.5888, allocations: 112 kB / 0.6417 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.592, allocations: 1.22 MB / 0.6429 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/0.5965, allocations: 1.216 MB / 0.6441 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.6084, allocations: 7.397 MB / 0.6513 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/0.6137, allocations: 307.6 kB / 0.6516 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.6147, allocations: 328 kB / 0.6519 GB, free: 2.086 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.003645/0.6183, allocations: 1.856 MB / 0.6537 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006382/0.619, allocations: 278.2 kB / 0.654 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006929/0.6259, allocations: 3.534 MB / 0.6574 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/0.6259, allocations: 16 kB / 0.6574 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6259, allocations: 4 kB / 0.6574 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.626, allocations: 11.97 kB / 0.6574 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.6402, allocations: 7.185 MB / 0.6645 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6402, allocations: 8 kB / 0.6645 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6414, allocations: 219.7 kB / 0.6647 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/0.6443, allocations: 1.066 MB / 0.6657 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.6445, allocations: 27.98 kB / 0.6657 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.6557, allocations: 7.059 MB / 0.6726 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6557, allocations: 0 / 0.6726 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.6659, allocations: 6.239 MB / 0.6787 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008515/0.6668, allocations: 254.1 kB / 0.679 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.6671, allocations: 31.94 kB / 0.679 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6683, allocations: 99.84 kB / 0.6791 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.6686, allocations: 96.89 kB / 0.6792 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.6688, allocations: 40 kB / 0.6792 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003464/0.6722, allocations: 1.885 MB / 0.6811 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6722, allocations: 0 / 0.6811 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006182/0.6784, allocations: 0.8749 MB / 0.6819 GB, free: 3.105 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.0007123/0.6791, allocations: 167 kB / 0.6821 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009159/0.6883, allocations: 4.935 MB / 0.6869 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6883, allocations: 0 / 0.6869 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/0.6915, allocations: 1.752 MB / 0.6886 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.6936, allocations: 324.5 kB / 0.6889 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.7083, allocations: 8.43 MB / 0.6972 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/0.7116, allocations: 2.337 MB / 0.6994 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.2536/0.9652, allocations: 1.661 MB / 0.7011 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.9665, allocations: 198.5 kB / 0.7012 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/0.9665, allocations: 0 / 0.7012 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.05846/1.025, allocations: 30.37 MB / 0.7309 GB, free: 159.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.841491917031817]