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.001257/0.001257, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001608/0.001608, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.022/1.022, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2723/0.2723, allocations: 34.26 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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 1.613e-06/1.613e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.392e-05, allocations: 2.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008499/0.008523, allocations: 9.219 MB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006597/0.01512, allocations: 3.745 MB / 391 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.01632, allocations: 63.69 kB / 391.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.01939, allocations: 2.453 MB / 393.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.02261, allocations: 1.703 MB / 395.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.02387, allocations: 0.7678 MB / 396 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004285/0.02816, allocations: 4.191 MB / 400.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.03058, allocations: 2.652 MB / 402.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.03261, allocations: 1.98 MB / 404.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.03472, allocations: 1.913 MB / 406.7 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.03513, allocations: 288 kB / 407 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.03656, allocations: 1.112 MB / 408.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.03762, allocations: 1.699 MB / 409.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.03868, allocations: 1.063 MB / 410.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.04193, allocations: 4.087 MB / 415 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.04193, allocations: 4 kB / 415 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.04193, allocations: 4 kB / 415 MB, free: 13.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.975e-05/0.04198, allocations: 0 / 415 MB, free: 13.53 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.00487/0.04685, allocations: 4.539 MB / 419.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.04689, allocations: 12.03 kB / 419.5 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/0.05138, allocations: 2.413 MB / 421.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.05386, allocations: 2.074 MB / 424 MB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.05396, allocations: 189.3 kB / 424.2 MB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.05429, allocations: 268.1 kB / 424.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.05997, allocations: 5.135 MB / 429.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/0.06005, allocations: 35.69 kB / 429.6 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.06029, allocations: 131.9 kB / 429.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/0.06212, allocations: 1.739 MB / 431.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/0.0676, allocations: 2.819 MB / 434.3 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1952/0.2628, allocations: 37.28 MB / 471.6 MB, free: 61.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.2659, allocations: 1.403 MB / 473 MB, free: 61.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.2667, allocations: 0.5443 MB / 473.5 MB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.2669, allocations: 100.6 kB / 473.6 MB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.2669, allocations: 49.64 kB / 473.7 MB, free: 61.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.567e-06/0.2669, allocations: 2.906 kB / 473.7 MB, free: 61.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01881/0.2857, allocations: 10.63 MB / 484.3 MB, free: 58.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.2858, allocations: 171.5 kB / 484.5 MB, free: 58.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.2887, allocations: 2.998 MB / 487.5 MB, free: 57.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.2889, allocations: 44.73 kB / 487.5 MB, free: 57.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.2902, allocations: 2.905 MB / 490.4 MB, free: 55.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005582/0.2907, allocations: 0.6584 MB / 491.1 MB, free: 54.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/0.2918, allocations: 1.179 MB / 492.3 MB, free: 54.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.2918, allocations: 484 kB / 492.7 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2929, allocations: 0.6472 MB / 493.4 MB, free: 53.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.296, allocations: 5.448 MB / 498.8 MB, free: 47.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/0.3011, allocations: 6.682 MB / 0.4937 GB, free: 40.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/0.3012, allocations: 32.34 kB / 0.4937 GB, free: 40.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.008515/0.3097, allocations: 5.257 MB / 0.4988 GB, free: 38.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.3098, allocations: 60.84 kB / 0.4989 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.3099, allocations: 116.5 kB / 0.499 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.3117, allocations: 0.7801 MB / 0.4998 GB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.314, allocations: 1.224 MB / 0.501 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.3178, allocations: 3.886 MB / 0.5048 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/0.3204, allocations: 351.9 kB / 0.5051 GB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.3207, allocations: 328.5 kB / 0.5054 GB, free: 35.14 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.00109/0.3218, allocations: 0.5896 MB / 0.506 GB, free: 34.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.3222, allocations: 325.7 kB / 0.5063 GB, free: 34.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.3248, allocations: 1.75 MB / 0.508 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.3249, allocations: 20.53 kB / 0.508 GB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.3249, allocations: 8.547 kB / 0.508 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.3249, allocations: 6.422 kB / 0.508 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007588/0.3325, allocations: 5.187 MB / 0.5131 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3325, allocations: 2.125 kB / 0.5131 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.3331, allocations: 224 kB / 0.5133 GB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.3347, allocations: 0.6278 MB / 0.5139 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.3348, allocations: 23.28 kB / 0.514 GB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/0.3386, allocations: 3.656 MB / 0.5175 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3386, allocations: 1.625 kB / 0.5175 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.3424, allocations: 2.784 MB / 0.5202 GB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006698/0.3431, allocations: 276.9 kB / 0.5205 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.3433, allocations: 23.89 kB / 0.5205 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/0.3441, allocations: 133.1 kB / 0.5207 GB, free: 26.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.3443, allocations: 92.66 kB / 0.5208 GB, free: 26.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.3444, allocations: 43.94 kB / 0.5208 GB, free: 26.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.3459, allocations: 1.285 MB / 0.522 GB, free: 25.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3459, allocations: 4 kB / 0.5221 GB, free: 25.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003304/0.3492, allocations: 0.9642 MB / 0.523 GB, free: 24.28 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.0003734/0.3496, allocations: 162.8 kB / 0.5231 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004041/0.3537, allocations: 2.96 MB / 0.526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3537, allocations: 0 / 0.526 GB, free: 21.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.3549, allocations: 1.016 MB / 0.527 GB, free: 20.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.3561, allocations: 339.2 kB / 0.5274 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0077/0.3638, allocations: 6.597 MB / 0.5338 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.3647, allocations: 1.066 MB / 0.5348 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00209/0.3667, allocations: 1.417 MB / 0.5362 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.3672, allocations: 200.5 kB / 0.5364 GB, free: 12.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.3672, allocations: 0 / 0.5364 GB, free: 12.35 MB / 410.7 MB Notification: Performance of Templates: time 0.04581/0.4131, allocations: 31.92 MB / 0.5676 GB, free: 12.88 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.565461358986795]