Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.001115/0.001115, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002828, allocations: 452 kB / 10.43 MB, free: 264 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.001049/0.001049, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002482, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8552/0.8552, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1355/0.9907, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1325/0.1325, allocations: 32.36 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02123/0.1537, allocations: 12.31 MB / 266.1 MB, free: 3.871 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.117e-05, allocations: 6.25 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01035/0.01036, allocations: 14.9 MB / 282.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1389/0.1493, allocations: 4.607 MB / 286.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.1515, allocations: 94.44 kB / 287 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.1548, allocations: 2.316 MB / 289.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.1591, allocations: 2.205 MB / 291.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1603, allocations: 0.6314 MB / 292.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004581/0.1649, allocations: 4.723 MB / 296.9 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.1676, allocations: 2.937 MB / 299.8 MB, free: 0 / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.1705, allocations: 2.815 MB / 302.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.1721, allocations: 2.232 MB / 304.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003116/0.1724, allocations: 340.8 kB / 305.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.1735, allocations: 1.035 MB / 306.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009481/0.1745, allocations: 1.955 MB / 308.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.1754, allocations: 1.129 MB / 309.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.1784, allocations: 4.782 MB / 314.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.1784, allocations: 0 / 314.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1784, allocations: 0 / 314.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.1785, allocations: 0 / 314.1 MB, free: 6.906 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.004818/0.1834, allocations: 5.952 MB / 320.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1834, allocations: 12.03 kB / 320.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004007/0.1874, allocations: 1.562 MB / 321.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.1895, allocations: 1.818 MB / 323.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.1896, allocations: 262.1 kB / 323.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.19, allocations: 344.3 kB / 324 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/0.196, allocations: 5.534 MB / 329.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/0.1961, allocations: 32.95 kB / 329.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.1964, allocations: 168.4 kB / 329.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.1986, allocations: 2.447 MB / 332.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005484/0.2041, allocations: 3.077 MB / 335.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.2292, allocations: 31.48 MB / 366.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.2321, allocations: 1.557 MB / 368.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.2325, allocations: 387.5 kB / 368.7 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005255/0.2378, allocations: 4.06 MB / 372.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2378, allocations: 43.88 kB / 372.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 2.956e-06/0.2378, allocations: 0 / 372.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=198): time 0.01155/0.2494, allocations: 6.113 MB / 378.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2494, allocations: 68.66 kB / 379 MB, free: 6.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.2517, allocations: 2.897 MB / 381.9 MB, free: 3.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.2518, allocations: 49.7 kB / 381.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.2531, allocations: 3.484 MB / 385.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.2534, allocations: 0.7712 MB / 386.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000843/0.2543, allocations: 1.14 MB / 387.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003156/0.2546, allocations: 301.1 kB / 387.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2556, allocations: 0.7547 MB / 388.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.258, allocations: 4.242 MB / 392.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.2626, allocations: 5.934 MB / 398.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/0.2626, allocations: 40 kB / 398.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.003781/0.2664, allocations: 4.034 MB / 402.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.2665, allocations: 56 kB / 402.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.75e-05/0.2666, allocations: 140 kB / 402.8 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.2668, allocations: 231.3 kB / 403 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/0.2691, allocations: 1.486 MB / 404.5 MB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.2692, allocations: 255 kB / 404.8 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.2708, allocations: 240.1 kB / 405 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.2711, allocations: 320 kB / 405.3 MB, free: 8.039 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 750 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001408/0.2725, allocations: 0.6107 MB / 405.9 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.2727, allocations: 207.7 kB / 406.1 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2738, allocations: 0.9904 MB / 407.1 MB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.2739, allocations: 12 kB / 407.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2739, allocations: 4 kB / 407.1 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2739, allocations: 7.969 kB / 407.2 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.2791, allocations: 4.76 MB / 411.9 MB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/0.2791, allocations: 23.98 kB / 411.9 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.2797, allocations: 287.6 kB / 412.2 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.2802, allocations: 413.8 kB / 412.6 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.2808, allocations: 224.4 kB / 412.8 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.2809, allocations: 32.41 kB / 412.9 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.2809, allocations: 31.92 kB / 412.9 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.2809, allocations: 15.94 kB / 412.9 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.2824, allocations: 1.639 MB / 414.6 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.2826, allocations: 32 kB / 414.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.283, allocations: 36 kB / 414.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.2832, allocations: 128.5 kB / 414.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.2833, allocations: 51.94 kB / 414.8 MB, free: 14.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007644/0.284, allocations: 1.027 MB / 415.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.284, allocations: 0 / 415.8 MB, free: 13.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002388/0.2864, allocations: 1.055 MB / 416.9 MB, free: 12.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003287/0.2867, allocations: 191.8 kB / 417.1 MB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.289, allocations: 2.522 MB / 419.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001512/0.2891, allocations: 106.8 kB / 419.7 MB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.2907, allocations: 1.236 MB / 420.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.2923, allocations: 2.055 MB / 423 MB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.3029, allocations: 9.154 MB / 432.1 MB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.304, allocations: 1.453 MB / 433.6 MB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001339/0.3053, allocations: 482 kB / 434.1 MB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/0.306, allocations: 0.4973 MB / 434.6 MB, free: 9.859 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.306, allocations: 0 / 434.6 MB, free: 9.859 MB / 426.7 MB Notification: Performance of Templates: time 0.1618/0.4677, allocations: 25.48 MB / 460 MB, free: 130 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.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.441548215225339]