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.001375/0.001375, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002149/0.002149, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 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.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2524/0.2524, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002459/0.002459, allocations: 79.81 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4101, allocations: 66.08 MB / 0.5612 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01286/0.423, allocations: 8.375 MB / 0.5694 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009933/0.4329, allocations: 3.612 MB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.435, allocations: 63.69 kB / 0.5729 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.4401, allocations: 2.227 MB / 0.5751 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.446, allocations: 1.662 MB / 0.5767 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4482, allocations: 0.6901 MB / 0.5774 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007045/0.4553, allocations: 3.805 MB / 0.5811 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005024/0.4603, allocations: 2.312 MB / 0.5834 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.4637, allocations: 1.304 MB / 0.5847 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.4677, allocations: 1.764 MB / 0.5864 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.4691, allocations: 280 kB / 0.5867 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.4724, allocations: 1.061 MB / 0.5877 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4751, allocations: 1.617 MB / 0.5893 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.4775, allocations: 1.359 MB / 0.5906 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009044/0.4866, allocations: 6.253 MB / 0.5967 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.4866, allocations: 0 / 0.5967 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4866, allocations: 4 kB / 0.5967 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001783/0.4868, allocations: 0 / 0.5967 GB, free: 15.45 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.01034/0.4971, allocations: 4.183 MB / 0.6008 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.4972, allocations: 20.02 kB / 0.6008 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008258/0.5054, allocations: 2.019 MB / 0.6028 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006679/0.5121, allocations: 2.271 MB / 0.605 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.5123, allocations: 197.3 kB / 0.6052 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000798/0.5131, allocations: 264 kB / 0.6054 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.5283, allocations: 8.602 MB / 0.6138 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.5284, allocations: 39.7 kB / 0.6139 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.5287, allocations: 127.9 kB / 0.614 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003223/0.5319, allocations: 1.75 MB / 0.6157 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.5474, allocations: 7.541 MB / 0.6231 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.5948, allocations: 31.99 MB / 0.6543 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006992/0.6018, allocations: 2.512 MB / 0.6568 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.6044, allocations: 1.762 MB / 0.6585 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.6047, allocations: 100.5 kB / 0.6586 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.6048, allocations: 47.16 kB / 0.6586 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.409e-06/0.6048, allocations: 0 / 0.6586 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04151/0.6463, allocations: 15.31 MB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.6464, allocations: 175.2 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005231/0.6517, allocations: 3.263 MB / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003863/0.652, allocations: 45.7 kB / 0.677 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.6549, allocations: 2.767 MB / 0.6797 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009543/0.6558, allocations: 0.6436 MB / 0.6803 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.6575, allocations: 1.107 MB / 0.6814 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.6577, allocations: 305.1 kB / 0.6817 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.6612, allocations: 2.126 MB / 0.6838 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006828/0.668, allocations: 5.358 MB / 0.689 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.6795, allocations: 8.032 MB / 0.6968 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/0.6797, allocations: 39.94 kB / 0.6969 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01753/0.6972, allocations: 8.25 MB / 0.7049 GB, free: 11.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.6973, allocations: 58.61 kB / 0.705 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.6974, allocations: 112 kB / 0.7051 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.7008, allocations: 1.223 MB / 0.7063 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/0.7053, allocations: 1.22 MB / 0.7075 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.7172, allocations: 7.395 MB / 0.7147 GB, free: 1.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004321/0.7215, allocations: 315.6 kB / 0.715 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.7226, allocations: 328 kB / 0.7153 GB, free: 0.75 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.00407/0.7266, allocations: 1.852 MB / 0.7171 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008739/0.7275, allocations: 282.1 kB / 0.7174 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007396/0.7349, allocations: 3.53 MB / 0.7208 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.735, allocations: 20 kB / 0.7209 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.735, allocations: 4 kB / 0.7209 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.735, allocations: 7.969 kB / 0.7209 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.7502, allocations: 7.162 MB / 0.7279 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.7502, allocations: 0 / 0.7279 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7514, allocations: 223.7 kB / 0.7281 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002954/0.7544, allocations: 1.066 MB / 0.7291 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.7545, allocations: 27.98 kB / 0.7291 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.32/1.075, allocations: 7.049 MB / 0.736 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.075, allocations: 3.797 kB / 0.736 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008304/1.083, allocations: 6.242 MB / 0.7421 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/1.084, allocations: 256.5 kB / 0.7424 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/1.084, allocations: 23.88 kB / 0.7424 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.085, allocations: 108 kB / 0.7425 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.086, allocations: 91.5 kB / 0.7426 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.086, allocations: 45.22 kB / 0.7426 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002565/1.088, allocations: 1.876 MB / 0.7445 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.088, allocations: 0 / 0.7445 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004417/1.093, allocations: 0.8822 MB / 0.7453 GB, free: 148.6 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.0004027/1.093, allocations: 157.5 kB / 0.7455 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00661/1.1, allocations: 4.93 MB / 0.7503 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.1, allocations: 0 / 0.7503 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002514/1.102, allocations: 1.744 MB / 0.752 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.105, allocations: 334.3 kB / 0.7523 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.117, allocations: 8.424 MB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002755/1.12, allocations: 2.343 MB / 0.7628 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003614/1.123, allocations: 1.665 MB / 0.7644 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/1.124, allocations: 203.3 kB / 0.7646 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.035e-06/1.124, allocations: 0 / 0.7646 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05324/1.177, allocations: 34.08 MB / 0.7979 GB, free: 98.85 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.353812592104077]