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.000856/0.000856, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001932, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007044/0.0007044, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009386/0.001643, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1152/1.133, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.3208/0.3208, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03221/0.3531, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.282e-06/1.282e-06, allocations: 0 / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.445e-05, allocations: 3.297 kB / 292.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008006/0.00803, allocations: 9.123 MB / 302 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007271/0.0153, allocations: 3.875 MB / 305.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.01715, allocations: 63.69 kB / 305.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.02026, allocations: 2.328 MB / 308.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.02442, allocations: 1.684 MB / 309.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.02596, allocations: 0.7016 MB / 310.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005074/0.03103, allocations: 3.928 MB / 314.5 MB, free: 428 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003548/0.03458, allocations: 2.453 MB / 317 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.03886, allocations: 2.408 MB / 319.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.04185, allocations: 1.765 MB / 321.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008336/0.04269, allocations: 284 kB / 321.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.04476, allocations: 1.143 MB / 322.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.04621, allocations: 1.52 MB / 324.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.04795, allocations: 0.8724 MB / 325 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.05282, allocations: 3.76 MB / 328.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.05284, allocations: 0 / 328.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.05284, allocations: 0 / 328.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.05299, allocations: 0 / 328.7 MB, free: 2.121 MB / 314.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.006526/0.05952, allocations: 4.675 MB / 333.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.05955, allocations: 8.031 kB / 333.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.06277, allocations: 0.9762 MB / 334.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.06579, allocations: 1.629 MB / 336 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.06593, allocations: 197.3 kB / 336.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.06637, allocations: 260.1 kB / 336.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006562/0.07293, allocations: 4.179 MB / 340.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.797e-05/0.07303, allocations: 43.62 kB / 340.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/0.07333, allocations: 123.9 kB / 340.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/0.07503, allocations: 1.388 MB / 342.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/0.08024, allocations: 2.09 MB / 344.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02674/0.107, allocations: 26.78 MB / 371.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.1103, allocations: 1.134 MB / 372.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.1107, allocations: 244.9 kB / 372.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004078/0.1148, allocations: 2.475 MB / 374.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1148, allocations: 50.81 kB / 375 MB, free: 2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.1148, allocations: 0 / 375 MB, free: 2 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.01357/0.1284, allocations: 3.866 MB / 378.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.1285, allocations: 137 kB / 379 MB, free: 13.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004129/0.1326, allocations: 2.787 MB / 381.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003653/0.1329, allocations: 41.7 kB / 381.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002089/0.135, allocations: 2.712 MB / 384.5 MB, free: 8.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/0.1359, allocations: 472.6 kB / 385 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.1369, allocations: 1.001 MB / 386 MB, free: 6.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.137, allocations: 305.1 kB / 386.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/0.1379, allocations: 0.6305 MB / 386.9 MB, free: 5.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/0.1404, allocations: 3.91 MB / 390.8 MB, free: 292 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004969/0.1454, allocations: 5.386 MB / 396.2 MB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001683/0.1456, allocations: 32 kB / 396.2 MB, free: 9.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006098/0.1517, allocations: 3.659 MB / 399.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.1517, allocations: 64.25 kB / 400 MB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/0.1519, allocations: 124 kB / 400.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008378/0.1527, allocations: 355.6 kB / 400.4 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/0.1549, allocations: 1.275 MB / 401.7 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.1573, allocations: 2.146 MB / 403.8 MB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.1605, allocations: 231.7 kB / 404.1 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/0.1609, allocations: 288 kB / 404.3 MB, free: 0.9375 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.1623, allocations: 0.5433 MB / 404.9 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.1627, allocations: 167.7 kB / 405.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.1638, allocations: 0.648 MB / 405.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.1638, allocations: 12 kB / 405.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1639, allocations: 0 / 405.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1639, allocations: 7.984 kB / 405.7 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.1687, allocations: 2.955 MB / 408.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.1688, allocations: 8 kB / 408.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.1692, allocations: 139.8 kB / 408.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.1696, allocations: 250 kB / 409.1 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007998/0.1704, allocations: 336.2 kB / 409.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.1705, allocations: 16 kB / 409.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.1723, allocations: 1.904 MB / 411.3 MB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1723, allocations: 4 kB / 411.3 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.1739, allocations: 1.394 MB / 412.7 MB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.1743, allocations: 20 kB / 412.7 MB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.1748, allocations: 12 kB / 412.7 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.1749, allocations: 60.39 kB / 412.8 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.1749, allocations: 27.92 kB / 412.8 MB, free: 8.207 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.176, allocations: 0.9929 MB / 413.8 MB, free: 7.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.176, allocations: 0 / 413.8 MB, free: 7.211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003247/0.1793, allocations: 0.8475 MB / 414.7 MB, free: 6.363 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 70 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003781/0.1796, allocations: 156.1 kB / 414.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.1827, allocations: 2.199 MB / 417 MB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001854/0.1829, allocations: 97.84 kB / 417.1 MB, free: 3.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.1835, allocations: 465.3 kB / 417.6 MB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/0.1864, allocations: 2.39 MB / 420 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.1974, allocations: 6.079 MB / 426 MB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.1987, allocations: 1.026 MB / 427.1 MB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.1999, allocations: 410.3 kB / 427.5 MB, free: 9.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/0.2005, allocations: 433.2 kB / 427.9 MB, free: 8.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.053e-06/0.2005, allocations: 0 / 427.9 MB, free: 8.703 MB / 426.7 MB Notification: Performance of Templates: time 0.2147/0.4152, allocations: 23.11 MB / 451 MB, free: 109 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.742025394923985]