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.0008699/0.0008699, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.002042, 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.0009757/0.0009757, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001983, 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.9223/0.9223, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1754/1.098, allocations: 49.49 MB / 220.5 MB, free: 5.281 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.1366/0.1366, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02307/0.1597, allocations: 12.29 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.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.342e-06/1.342e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.515e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01058/0.01061, allocations: 14.9 MB / 282.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006754/0.01736, allocations: 4.613 MB / 286.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.01873, allocations: 95.62 kB / 286.8 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.02116, allocations: 2.323 MB / 289.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.02414, allocations: 2.201 MB / 291.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.02556, allocations: 0.6275 MB / 292 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005506/0.03107, allocations: 4.716 MB / 296.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003839/0.03491, allocations: 2.849 MB / 299.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.03893, allocations: 2.717 MB / 302.3 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.04203, allocations: 2.229 MB / 304.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009096/0.04293, allocations: 340 kB / 304.8 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.04473, allocations: 1.034 MB / 305.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.04625, allocations: 1.967 MB / 307.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.04783, allocations: 1.117 MB / 308.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.05327, allocations: 4.785 MB / 313.7 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.521e-05/0.0533, allocations: 0 / 313.7 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.0533, allocations: 4 kB / 313.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002684/0.05357, allocations: 0 / 313.7 MB, free: 7.781 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.007401/0.06097, allocations: 5.948 MB / 319.7 MB, free: 1.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.06101, allocations: 8.031 kB / 319.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.0651, allocations: 1.569 MB / 321.3 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.06778, allocations: 1.822 MB / 323.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.06792, allocations: 258.9 kB / 323.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/0.06849, allocations: 348 kB / 323.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008558/0.07705, allocations: 5.534 MB / 329.2 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.07716, allocations: 35.7 kB / 329.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.07753, allocations: 155.8 kB / 329.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002418/0.07994, allocations: 2.614 MB / 332 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006913/0.08686, allocations: 3.078 MB / 335.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.2633, allocations: 31.46 MB / 366.5 MB, free: 30.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.2666, allocations: 1.563 MB / 368.1 MB, free: 30.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.2671, allocations: 380.1 kB / 368.5 MB, free: 30.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006126/0.2732, allocations: 4.063 MB / 372.5 MB, free: 28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.2733, allocations: 43.88 kB / 372.6 MB, free: 27.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=185): time 3.827e-06/0.2733, allocations: 3.828 kB / 372.6 MB, free: 27.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=198): time 0.01056/0.2838, allocations: 5.702 MB / 378.3 MB, free: 22.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.2838, allocations: 68.72 kB / 378.4 MB, free: 22.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.2859, allocations: 2.899 MB / 381.2 MB, free: 19.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.2859, allocations: 45.7 kB / 381.3 MB, free: 19.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008759/0.2868, allocations: 3.482 MB / 384.8 MB, free: 16.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.2871, allocations: 0.7751 MB / 385.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006922/0.2878, allocations: 1.14 MB / 386.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.721e-05/0.2879, allocations: 313.1 kB / 387 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/0.2888, allocations: 0.7508 MB / 387.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.2904, allocations: 4.233 MB / 392 MB, free: 7.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.2935, allocations: 5.515 MB / 397.5 MB, free: 44 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-05/0.2935, allocations: 36 kB / 397.5 MB, free: 8 kB / 330.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004858/0.2984, allocations: 4.033 MB / 401.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.2985, allocations: 68 kB / 401.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.2986, allocations: 128 kB / 401.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.2989, allocations: 223.3 kB / 402 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002946/0.3019, allocations: 1.49 MB / 403.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001986/0.3021, allocations: 251 kB / 403.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.3047, allocations: 244 kB / 403.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.3051, allocations: 320 kB / 404.3 MB, free: 9.25 MB / 346.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.001814/0.3069, allocations: 0.6097 MB / 404.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003811/0.3073, allocations: 203.7 kB / 405.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3085, allocations: 0.9943 MB / 406.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.3085, allocations: 24 kB / 406.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3085, allocations: 0 / 406.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3085, allocations: 3.984 kB / 406.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006825/0.3154, allocations: 4.755 MB / 410.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.3154, allocations: 15.94 kB / 410.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.3162, allocations: 291.6 kB / 411.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009114/0.3171, allocations: 413.8 kB / 411.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.3175, allocations: 224.4 kB / 411.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.3175, allocations: 40 kB / 411.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.3175, allocations: 24.05 kB / 411.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.3175, allocations: 15.94 kB / 411.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3192, allocations: 1.627 MB / 413.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.3194, allocations: 47.97 kB / 413.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.3199, allocations: 32 kB / 413.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3201, allocations: 124.6 kB / 413.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.3201, allocations: 52 kB / 413.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008737/0.321, allocations: 1.029 MB / 414.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.321, allocations: 0 / 414.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002958/0.324, allocations: 1.055 MB / 415.8 MB, free: 13.28 MB / 362.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.0003453/0.3243, allocations: 191.8 kB / 416 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.3272, allocations: 2.407 MB / 418.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001685/0.3274, allocations: 106.8 kB / 418.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.328, allocations: 0.5027 MB / 419 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.3301, allocations: 0.926 MB / 419.9 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.3462, allocations: 9.151 MB / 429.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.3479, allocations: 1.468 MB / 430.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001755/0.3497, allocations: 497.9 kB / 431 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009367/0.3506, allocations: 0.5207 MB / 431.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3506, allocations: 0 / 431.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of Templates: time 0.05344/0.404, allocations: 27.02 MB / 458.6 MB, free: 2.438 MB / 394.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9712747605517507]