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.001099/0.001099, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.0008799/0.0008799, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 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.9228/0.9228, allocations: 158.6 MB / 185.7 MB, free: 2.887 MB / 170.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.1375/0.1375, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 3.487e-06/3.487e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/4.146e-05, allocations: 10.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0131/0.01315, allocations: 15.15 MB / 362.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009284/0.02243, allocations: 4.416 MB / 367.3 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.0249, allocations: 91.69 kB / 367.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.02834, allocations: 2.413 MB / 369.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.0329, allocations: 2.244 MB / 372 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.03414, allocations: 0.6743 MB / 372.7 MB, free: 340 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004941/0.03908, allocations: 4.817 MB / 377.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004608/0.04369, allocations: 3.11 MB / 380.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.04836, allocations: 2.678 MB / 383.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003986/0.05235, allocations: 2.361 MB / 385.6 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.05358, allocations: 340 kB / 386 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.05562, allocations: 1.014 MB / 387 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.05757, allocations: 2.185 MB / 389.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.05975, allocations: 1.359 MB / 390.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.06652, allocations: 5.105 MB / 395.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.06652, allocations: 0 / 395.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.06653, allocations: 0 / 395.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002451/0.06677, allocations: 0 / 395.6 MB, free: 9.262 MB / 330.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.007693/0.07446, allocations: 5.774 MB / 401.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.07451, allocations: 8.031 kB / 401.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/0.08159, allocations: 3.874 MB / 405.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/0.08572, allocations: 2.266 MB / 407.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.08589, allocations: 262.9 kB / 407.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007604/0.08665, allocations: 348 kB / 408.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.09937, allocations: 6.557 MB / 414.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.09949, allocations: 35.69 kB / 414.8 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.09989, allocations: 159.8 kB / 414.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002867/0.1028, allocations: 2.942 MB / 417.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.1138, allocations: 3.769 MB / 421.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2027/0.3165, allocations: 42.57 MB / 464.2 MB, free: 66.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/0.3216, allocations: 1.732 MB / 465.9 MB, free: 66.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.3228, allocations: 0.5495 MB / 466.5 MB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008265/0.3311, allocations: 4.723 MB / 471.2 MB, free: 65.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.3311, allocations: 55.62 kB / 471.2 MB, free: 65.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 4.959e-06/0.3311, allocations: 0 / 471.2 MB, free: 65.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=198): time 0.01392/0.345, allocations: 7.394 MB / 478.6 MB, free: 64.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.3451, allocations: 67.03 kB / 478.7 MB, free: 64.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.3483, allocations: 3.236 MB / 481.9 MB, free: 63.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.3485, allocations: 47.45 kB / 482 MB, free: 63.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.3503, allocations: 3.772 MB / 485.8 MB, free: 61.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006704/0.3509, allocations: 0.8179 MB / 486.6 MB, free: 61.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.352, allocations: 1.309 MB / 487.9 MB, free: 60.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.3521, allocations: 476.8 kB / 488.4 MB, free: 60 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000994/0.3531, allocations: 0.6482 MB / 489 MB, free: 59.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.3556, allocations: 6.021 MB / 495 MB, free: 51.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.3612, allocations: 7.361 MB / 0.4906 GB, free: 42.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/0.3613, allocations: 36 kB / 0.4906 GB, free: 42.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.008196/0.3695, allocations: 5.169 MB / 0.4957 GB, free: 37.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3696, allocations: 60 kB / 0.4957 GB, free: 37.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/0.3697, allocations: 128 kB / 0.4959 GB, free: 37.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.37, allocations: 233.6 kB / 0.4961 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3724, allocations: 1.402 MB / 0.4975 GB, free: 35.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/0.3726, allocations: 246.4 kB / 0.4977 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.3754, allocations: 368 kB / 0.498 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006636/0.376, allocations: 373.9 kB / 0.4984 GB, free: 34.85 MB / 378.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.001999/0.378, allocations: 0.6516 MB / 0.499 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.3787, allocations: 355.8 kB / 0.4994 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.3804, allocations: 1.29 MB / 0.5006 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.3805, allocations: 31.98 kB / 0.5007 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3805, allocations: 0 / 0.5007 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.3805, allocations: 7.922 kB / 0.5007 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009926/0.3904, allocations: 6.016 MB / 0.5066 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.3904, allocations: 11.98 kB / 0.5066 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.3911, allocations: 307.6 kB / 0.5069 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.3914, allocations: 79.25 kB / 0.5069 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-05/0.3915, allocations: 41.09 kB / 0.507 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.3915, allocations: 26.86 kB / 0.507 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.3915, allocations: 15.94 kB / 0.507 GB, free: 25.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.394, allocations: 2.191 MB / 0.5092 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009062/0.3949, allocations: 489.8 kB / 0.5096 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.3952, allocations: 38.66 kB / 0.5097 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.3958, allocations: 119.8 kB / 0.5098 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.396, allocations: 132.5 kB / 0.5099 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.396, allocations: 70.09 kB / 0.51 GB, free: 22.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.3975, allocations: 1.356 MB / 0.5113 GB, free: 21.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3975, allocations: 0 / 0.5113 GB, free: 21.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00338/0.4009, allocations: 1.053 MB / 0.5123 GB, free: 20.21 MB / 378.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.0004737/0.4014, allocations: 205.4 kB / 0.5125 GB, free: 20 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.4052, allocations: 2.813 MB / 0.5153 GB, free: 17.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/0.4052, allocations: 4.438 kB / 0.5153 GB, free: 17.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.4059, allocations: 0.6471 MB / 0.5159 GB, free: 16.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.4075, allocations: 334.9 kB / 0.5162 GB, free: 16.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4181, allocations: 9.033 MB / 0.525 GB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.4193, allocations: 1.468 MB / 0.5265 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002413/0.4217, allocations: 1.671 MB / 0.5281 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.4222, allocations: 236.5 kB / 0.5283 GB, free: 3.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.344e-06/0.4222, allocations: 0 / 0.5283 GB, free: 3.57 MB / 378.7 MB Notification: Performance of Templates: time 0.04144/0.4636, allocations: 24.72 MB / 0.5525 GB, free: 11.08 MB / 410.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 -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: 4.493861926253885]