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.0007337/0.0007337, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.0017, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007253/0.0007253, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008923/0.001618, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.8894/0.8894, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1914/1.081, allocations: 49.51 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] 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.1323/0.1323, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02186/0.1542, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.543e-05, allocations: 2.312 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007883/0.007909, allocations: 9.819 MB / 277 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.01349, allocations: 3.975 MB / 281 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.01421, allocations: 63.69 kB / 281.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.01644, allocations: 2.367 MB / 283.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.01923, allocations: 1.816 MB / 285.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.02029, allocations: 0.7055 MB / 286 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003514/0.02381, allocations: 3.969 MB / 289.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/0.02618, allocations: 2.563 MB / 292.5 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.02866, allocations: 2.443 MB / 294.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.03028, allocations: 1.913 MB / 296.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.03055, allocations: 308 kB / 297.2 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.03185, allocations: 1.17 MB / 298.3 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009818/0.03283, allocations: 1.656 MB / 300 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.03363, allocations: 0.9503 MB / 300.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.03671, allocations: 4.075 MB / 305 MB, free: 0.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.03672, allocations: 4 kB / 305 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.03672, allocations: 0 / 305 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.03676, allocations: 0 / 305 MB, free: 0.5391 MB / 298.7 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.006096/0.04286, allocations: 4.975 MB / 310 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.04289, allocations: 12.03 kB / 310 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/0.04567, allocations: 1.039 MB / 311 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.04797, allocations: 1.743 MB / 312.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.04809, allocations: 213.6 kB / 313 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.0484, allocations: 280.2 kB / 313.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004762/0.05316, allocations: 4.458 MB / 317.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.841e-05/0.05323, allocations: 47.58 kB / 317.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.05343, allocations: 135.9 kB / 317.9 MB, free: 2.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001337/0.05477, allocations: 1.654 MB / 319.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.05845, allocations: 2.252 MB / 321.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/0.2514, allocations: 28.22 MB / 350 MB, free: 21.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.2547, allocations: 1.212 MB / 351.2 MB, free: 20.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.2551, allocations: 283.2 kB / 351.5 MB, free: 20.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004401/0.2595, allocations: 2.678 MB / 354.2 MB, free: 20.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2596, allocations: 48.48 kB / 354.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 3.467e-06/0.2596, allocations: 0 / 354.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=124): time 0.01141/0.271, allocations: 3.751 MB / 358 MB, free: 19.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.271, allocations: 145.2 kB / 358.1 MB, free: 19.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.2738, allocations: 2.884 MB / 361 MB, free: 18.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.2739, allocations: 43.8 kB / 361.1 MB, free: 18.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.275, allocations: 2.878 MB / 363.9 MB, free: 16.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.2754, allocations: 0.531 MB / 364.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009651/0.2764, allocations: 1.055 MB / 365.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.716e-05/0.2764, allocations: 305.1 kB / 365.8 MB, free: 16.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.2776, allocations: 0.677 MB / 366.5 MB, free: 16.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.2798, allocations: 4.101 MB / 370.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.2831, allocations: 5.24 MB / 375.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.37e-05/0.2831, allocations: 35.16 kB / 375.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.004275/0.2874, allocations: 3.859 MB / 379.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2874, allocations: 56 kB / 379.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.593e-05/0.2875, allocations: 128 kB / 379.9 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007347/0.2883, allocations: 339.9 kB / 380.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.2904, allocations: 1.36 MB / 381.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.2921, allocations: 2.164 MB / 383.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.2945, allocations: 249.6 kB / 384 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.2948, allocations: 299.2 kB / 384.3 MB, free: 2.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (685): * Single equations (assignments): 681 * 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.001239/0.296, allocations: 0.5651 MB / 384.9 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.2964, allocations: 181.4 kB / 385 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.2974, allocations: 0.7647 MB / 385.8 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.2974, allocations: 22.41 kB / 385.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.2974, allocations: 0 / 385.8 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2974, allocations: 16.66 kB / 385.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.3017, allocations: 3.27 MB / 389.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3017, allocations: 5.453 kB / 389.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.3022, allocations: 175.8 kB / 389.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.3027, allocations: 361.8 kB / 389.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007192/0.3034, allocations: 344.4 kB / 390 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.3035, allocations: 21.12 kB / 390 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.305, allocations: 1.907 MB / 391.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.305, allocations: 8.031 kB / 391.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.3067, allocations: 1.529 MB / 393.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.307, allocations: 24 kB / 393.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004972/0.3075, allocations: 20 kB / 393.5 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3076, allocations: 78.88 kB / 393.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.3077, allocations: 34.38 kB / 393.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000953/0.3086, allocations: 1.037 MB / 394.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3086, allocations: 0 / 394.6 MB, free: 8.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003038/0.3116, allocations: 0.9218 MB / 395.6 MB, free: 7.621 MB / 346.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 (95): * Single equations (assignments): 91 * 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.0003187/0.312, allocations: 161.5 kB / 395.7 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.3151, allocations: 2.257 MB / 398 MB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001993/0.3153, allocations: 105.3 kB / 398.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.3159, allocations: 464.5 kB / 398.5 MB, free: 4.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.3178, allocations: 0.718 MB / 399.2 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.3288, allocations: 6.636 MB / 405.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.3299, allocations: 1.124 MB / 407 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.3311, allocations: 440.4 kB / 407.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.3317, allocations: 465.2 kB / 407.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3317, allocations: 0 / 407.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.04052/0.3722, allocations: 26.71 MB / 434.6 MB, free: 0.7773 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8693150524049997]