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.001015/0.001015, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003835/0.003835, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 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 0.8711/0.8711, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2513/0.2513, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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 1.443e-06/1.443e-06, allocations: 3.938 kB / 440.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.407e-05, allocations: 4.672 kB / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2019/0.2019, allocations: 8.37 MB / 449.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.2058, allocations: 3.613 MB / 452.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.2063, allocations: 66.09 kB / 452.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2081, allocations: 2.344 MB / 455.3 MB, free: 39.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.2098, allocations: 1.698 MB / 457 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.2105, allocations: 0.7542 MB / 457.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.2131, allocations: 4.193 MB / 461.9 MB, free: 36.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.2146, allocations: 2.569 MB / 464.5 MB, free: 35.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.2159, allocations: 1.981 MB / 466.5 MB, free: 34.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.2172, allocations: 1.858 MB / 468.3 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.2174, allocations: 285.9 kB / 468.6 MB, free: 33.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009285/0.2183, allocations: 1.108 MB / 469.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006594/0.219, allocations: 1.686 MB / 471.4 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.2195, allocations: 1.056 MB / 472.4 MB, free: 32.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.2233, allocations: 6.315 MB / 478.8 MB, free: 30.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2234, allocations: 4 kB / 478.8 MB, free: 30.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2234, allocations: 0.75 kB / 478.8 MB, free: 30.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.08e-05/0.2234, allocations: 0 / 478.8 MB, free: 30.27 MB / 410.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.006494/0.2299, allocations: 4.187 MB / 482.9 MB, free: 27.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.23, allocations: 10.06 kB / 483 MB, free: 27.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.2349, allocations: 2.08 MB / 485 MB, free: 27.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/0.2382, allocations: 2.264 MB / 487.3 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2384, allocations: 193.3 kB / 487.5 MB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003751/0.2387, allocations: 259.6 kB / 487.7 MB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.2509, allocations: 8.615 MB / 496.4 MB, free: 22.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.251, allocations: 36.41 kB / 496.4 MB, free: 22.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/0.2514, allocations: 121.9 kB / 496.5 MB, free: 22.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/0.2547, allocations: 1.746 MB / 498.3 MB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.2673, allocations: 7.541 MB / 0.4939 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02404/0.2914, allocations: 32.18 MB / 0.5254 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003815/0.2952, allocations: 2.59 MB / 0.5279 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.2966, allocations: 1.765 MB / 0.5296 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.2968, allocations: 100.4 kB / 0.5297 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2968, allocations: 55.14 kB / 0.5298 GB, free: 13.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.657e-06/0.2968, allocations: 0 / 0.5298 GB, free: 13.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02265/0.3195, allocations: 15.68 MB / 0.5451 GB, free: 13.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.3196, allocations: 175.2 kB / 0.5452 GB, free: 13.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.3228, allocations: 3.356 MB / 0.5485 GB, free: 9.953 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.3229, allocations: 45.7 kB / 0.5486 GB, free: 9.902 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.3242, allocations: 2.751 MB / 0.5513 GB, free: 7.125 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.3246, allocations: 0.6242 MB / 0.5519 GB, free: 6.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.3256, allocations: 1.088 MB / 0.5529 GB, free: 5.398 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.3257, allocations: 305.1 kB / 0.5532 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.3277, allocations: 2.119 MB / 0.5553 GB, free: 2.973 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/0.3311, allocations: 5.366 MB / 0.5605 GB, free: 11.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005864/0.337, allocations: 8.036 MB / 0.5684 GB, free: 2.359 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/0.337, allocations: 32 kB / 0.5684 GB, free: 2.328 MB / 474.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.008279/0.3453, allocations: 8.255 MB / 0.5765 GB, free: 10.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.3454, allocations: 52 kB / 0.5765 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.02e-05/0.3454, allocations: 116 kB / 0.5766 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.3472, allocations: 1.221 MB / 0.5778 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.3492, allocations: 1.216 MB / 0.579 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006675/0.3559, allocations: 7.414 MB / 0.5862 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.358, allocations: 343.4 kB / 0.5866 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.3583, allocations: 328 kB / 0.5869 GB, free: 15.29 MB / 0.4948 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.002393/0.3607, allocations: 1.856 MB / 0.5887 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.3611, allocations: 280.8 kB / 0.589 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.3655, allocations: 3.53 MB / 0.5924 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.3655, allocations: 16 kB / 0.5924 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3655, allocations: 4 kB / 0.5924 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3655, allocations: 11.97 kB / 0.5924 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.3759, allocations: 7.255 MB / 0.5995 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.3759, allocations: 4.281 kB / 0.5995 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.3765, allocations: 223.7 kB / 0.5997 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.3781, allocations: 1.063 MB / 0.6008 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.399e-05/0.3782, allocations: 31.88 kB / 0.6008 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006319/0.3845, allocations: 7.109 MB / 0.6078 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3845, allocations: 4 kB / 0.6078 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006228/0.3908, allocations: 6.243 MB / 0.6139 GB, free: 3.457 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.3913, allocations: 278 kB / 0.6141 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.3915, allocations: 24 kB / 0.6141 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.3922, allocations: 135.8 kB / 0.6143 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.3924, allocations: 96.69 kB / 0.6144 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.3924, allocations: 40 kB / 0.6144 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002129/0.3946, allocations: 1.951 MB / 0.6163 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 0.6163 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003053/0.3976, allocations: 0.9609 MB / 0.6173 GB, free: 15.98 MB / 0.5261 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.0003993/0.398, allocations: 166.9 kB / 0.6174 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005162/0.4032, allocations: 4.947 MB / 0.6222 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4032, allocations: 0 / 0.6222 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.4049, allocations: 1.737 MB / 0.6239 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.406, allocations: 330.9 kB / 0.6243 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009129/0.4151, allocations: 8.721 MB / 0.6328 GB, free: 36 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1796/0.5948, allocations: 2.317 MB / 0.635 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/0.5956, allocations: 243.6 kB / 0.6353 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.5956, allocations: 0 / 0.6353 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.06699/0.6626, allocations: 68.3 MB / 0.702 GB, free: 126 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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: 8.548743393272161]