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.001806/0.001806, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.002171/0.002171, allocations: 223.3 kB / 23.01 MB, free: 5.039 MB / 14.72 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.621/1.621, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 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.2533/0.2533, allocations: 44.24 MB / 330.3 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 75.89 kB / 468 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1674, allocations: 61.04 MB / 0.5166 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.0144/0.1818, allocations: 10.3 MB / 0.5267 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1924, allocations: 3.965 MB / 0.5306 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.1947, allocations: 67.69 kB / 0.5306 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.1997, allocations: 2.359 MB / 0.5329 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.2055, allocations: 1.782 MB / 0.5347 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.2076, allocations: 0.7018 MB / 0.5354 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3919/0.5994, allocations: 3.808 MB / 0.5391 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005809/0.6052, allocations: 2.427 MB / 0.5415 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.6096, allocations: 1.397 MB / 0.5428 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005913/0.6156, allocations: 2.014 MB / 0.5448 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001676/0.6172, allocations: 305.8 kB / 0.5451 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.6217, allocations: 1.215 MB / 0.5463 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003682/0.6253, allocations: 1.758 MB / 0.548 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005216/0.6306, allocations: 2.022 MB / 0.55 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.6486, allocations: 6.783 MB / 0.5566 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.6486, allocations: 3.938 kB / 0.5566 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6486, allocations: 1.344 kB / 0.5566 GB, free: 7.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004313/0.6491, allocations: 0 / 0.5566 GB, free: 7.805 MB / 414.1 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.02038/0.6694, allocations: 4.458 MB / 0.5609 GB, free: 5.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.203e-05/0.6695, allocations: 9.219 kB / 0.5609 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009608/0.6791, allocations: 2.083 MB / 0.563 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/0.6873, allocations: 2.435 MB / 0.5654 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.6876, allocations: 208.8 kB / 0.5656 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.6888, allocations: 281.6 kB / 0.5658 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.7091, allocations: 9.286 MB / 0.5749 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.7093, allocations: 38.98 kB / 0.5749 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004616/0.7097, allocations: 134.1 kB / 0.5751 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/0.7137, allocations: 1.924 MB / 0.5769 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.7334, allocations: 8.162 MB / 0.5849 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06231/0.7957, allocations: 36.18 MB / 0.6202 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008762/0.8045, allocations: 3.097 MB / 0.6233 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.8078, allocations: 1.924 MB / 0.6251 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.8082, allocations: 99.09 kB / 0.6252 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/0.8083, allocations: 56.73 kB / 0.6253 GB, free: 15.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 5.11e-06/0.8083, allocations: 4 kB / 0.6253 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=177): time 0.0502/0.8585, allocations: 16.25 MB / 0.6412 GB, free: 15.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.8586, allocations: 169.8 kB / 0.6413 GB, free: 15.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009758/0.8684, allocations: 3.651 MB / 0.6449 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006059/0.869, allocations: 52.83 kB / 0.6449 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003439/0.8724, allocations: 2.91 MB / 0.6478 GB, free: 8.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.8739, allocations: 0.7204 MB / 0.6485 GB, free: 8.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003273/0.8772, allocations: 1.165 MB / 0.6496 GB, free: 7.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.8774, allocations: 305.1 kB / 0.6499 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003994/0.8813, allocations: 2.291 MB / 0.6522 GB, free: 4.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/0.8887, allocations: 5.642 MB / 0.6577 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.9012, allocations: 8.553 MB / 0.666 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.633e-05/0.9013, allocations: 32 kB / 0.666 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.022/0.9233, allocations: 8.764 MB / 0.6746 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.9235, allocations: 59.94 kB / 0.6747 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002882/0.9238, allocations: 116.9 kB / 0.6748 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.9275, allocations: 1.222 MB / 0.676 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005729/0.9332, allocations: 1.294 MB / 0.6772 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/0.9459, allocations: 7.594 MB / 0.6847 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007172/0.9531, allocations: 335.5 kB / 0.685 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002218/0.9553, allocations: 342.2 kB / 0.6853 GB, free: 15.42 MB / 0.5294 GB 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.007566/0.9629, allocations: 1.964 MB / 0.6872 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/0.9645, allocations: 341.8 kB / 0.6875 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.9751, allocations: 3.921 MB / 0.6914 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-05/0.9752, allocations: 20 kB / 0.6914 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/0.9752, allocations: 11.84 kB / 0.6914 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/0.9753, allocations: 11.91 kB / 0.6914 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/1.003, allocations: 8.911 MB / 0.7001 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.003, allocations: 0 / 0.7001 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.005, allocations: 271.6 kB / 0.7004 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003264/1.008, allocations: 1.058 MB / 0.7014 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/1.008, allocations: 28 kB / 0.7014 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.021, allocations: 7.156 MB / 0.7084 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.021, allocations: 0 / 0.7084 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.035, allocations: 6.866 MB / 0.7151 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/1.038, allocations: 0.6147 MB / 0.7157 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.039, allocations: 28 kB / 0.7158 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.042, allocations: 111.8 kB / 0.7159 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/1.042, allocations: 100.8 kB / 0.716 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/1.042, allocations: 54.97 kB / 0.716 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007343/1.05, allocations: 2.278 MB / 0.7182 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.05, allocations: 7.938 kB / 0.7182 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009306/1.059, allocations: 0.9725 MB / 0.7192 GB, free: 12.55 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 (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.001016/1.06, allocations: 150.3 kB / 0.7193 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.073, allocations: 5.25 MB / 0.7245 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.073, allocations: 0.875 kB / 0.7245 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004496/1.078, allocations: 1.896 MB / 0.7263 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/1.083, allocations: 397.9 kB / 0.7267 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/1.11, allocations: 9.149 MB / 0.7356 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004745/1.114, allocations: 3.068 MB / 0.7386 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005537/1.12, allocations: 1.806 MB / 0.7404 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009601/1.121, allocations: 223.4 kB / 0.7406 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of SimCode: time 3.016e-06/1.121, allocations: 0 / 0.7406 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of Templates: time 0.4873/1.608, allocations: 40.34 MB / 0.78 GB, free: 195.1 MB / 0.5919 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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: 8.690872278995812]