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.001301/0.001301, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001548/0.001548, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 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.9769/0.9769, allocations: 158.6 MB / 186 MB, free: 2.762 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.1298/0.1298, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.384e-06/2.384e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.847e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1573/0.1573, allocations: 14.75 MB / 313.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00998/0.1673, allocations: 4.569 MB / 318.4 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.1706, allocations: 95.97 kB / 318.5 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.174, allocations: 2.407 MB / 320.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.1788, allocations: 2.242 MB / 323.1 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.18, allocations: 0.6845 MB / 323.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004637/0.1846, allocations: 4.805 MB / 328.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004097/0.1887, allocations: 3.2 MB / 331.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.1929, allocations: 2.658 MB / 334.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.1958, allocations: 2.252 MB / 336.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006756/0.1965, allocations: 340 kB / 337.1 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.1982, allocations: 1.006 MB / 338.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.1997, allocations: 2.185 MB / 340.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.2013, allocations: 1.351 MB / 341.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005603/0.2069, allocations: 5.097 MB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2069, allocations: 4 kB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2069, allocations: 3.938 kB / 346.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.2071, allocations: 0 / 346.7 MB, free: 14.42 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.00587/0.2129, allocations: 4.932 MB / 351.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.213, allocations: 8.031 kB / 351.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/0.2169, allocations: 1.561 MB / 353.2 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.2195, allocations: 1.825 MB / 355 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.2197, allocations: 258.9 kB / 355.3 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004861/0.2201, allocations: 348.1 kB / 355.6 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008703/0.2288, allocations: 5.532 MB / 361.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.229, allocations: 39.64 kB / 361.2 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.2293, allocations: 155.8 kB / 361.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.2319, allocations: 2.595 MB / 364 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/0.241, allocations: 3.074 MB / 367 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04054/0.2815, allocations: 31.45 MB / 398.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.2851, allocations: 1.596 MB / 400.1 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.2858, allocations: 371.7 kB / 400.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.2928, allocations: 4.123 MB / 404.6 MB, free: 2.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.2929, allocations: 59.38 kB / 404.6 MB, free: 2.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 3.917e-06/0.2929, allocations: 0 / 404.6 MB, free: 2.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=198): time 0.01193/0.3048, allocations: 5.786 MB / 410.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3049, allocations: 68.66 kB / 410.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/0.3071, allocations: 2.901 MB / 413.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.3072, allocations: 53.7 kB / 413.4 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.3089, allocations: 3.484 MB / 416.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/0.3093, allocations: 0.775 MB / 417.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008806/0.3102, allocations: 1.144 MB / 418.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.3103, allocations: 309.1 kB / 419.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.3114, allocations: 0.7547 MB / 419.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.3142, allocations: 4.23 MB / 424.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/0.319, allocations: 5.499 MB / 429.6 MB, free: 5.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.609e-05/0.3191, allocations: 43.94 kB / 429.7 MB, free: 5.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.006226/0.3253, allocations: 4.038 MB / 433.7 MB, free: 1.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.3254, allocations: 63.98 kB / 433.8 MB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003751/0.3258, allocations: 124 kB / 433.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.3261, allocations: 227.8 kB / 434.1 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.3284, allocations: 1.337 MB / 435.4 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/0.3285, allocations: 243.2 kB / 435.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.3312, allocations: 243.8 kB / 435.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.3315, allocations: 323.3 kB / 436.2 MB, free: 15.26 MB / 410.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.001747/0.3333, allocations: 0.6068 MB / 436.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.3337, allocations: 207.7 kB / 437 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.335, allocations: 0.9826 MB / 438 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.335, allocations: 28.03 kB / 438 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.335, allocations: 0 / 438 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.335, allocations: 7.969 kB / 438.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008717/0.3438, allocations: 4.775 MB / 442.8 MB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.3438, allocations: 8 kB / 442.8 MB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.3444, allocations: 247.6 kB / 443.1 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.3449, allocations: 224.9 kB / 443.3 MB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.345, allocations: 43.98 kB / 443.3 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-05/0.345, allocations: 23.92 kB / 443.4 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.345, allocations: 15.94 kB / 443.4 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.3475, allocations: 1.631 MB / 445 MB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007975/0.3483, allocations: 409.8 kB / 445.4 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.3485, allocations: 43.97 kB / 445.5 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.3491, allocations: 32 kB / 445.5 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3492, allocations: 128.6 kB / 445.6 MB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.3493, allocations: 48 kB / 445.7 MB, free: 5.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.3503, allocations: 1.031 MB / 446.7 MB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3503, allocations: 0 / 446.7 MB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003429/0.3537, allocations: 1.051 MB / 447.7 MB, free: 3.316 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.0004169/0.3542, allocations: 191.8 kB / 447.9 MB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.3576, allocations: 2.409 MB / 450.3 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001699/0.3578, allocations: 92.16 kB / 450.4 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.3584, allocations: 0.5033 MB / 450.9 MB, free: 112 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.3609, allocations: 0.7004 MB / 451.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/0.3768, allocations: 8.75 MB / 460.4 MB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.3785, allocations: 1.44 MB / 461.8 MB, free: 4.984 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001728/0.3802, allocations: 497.9 kB / 462.3 MB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000745/0.3809, allocations: 0.5207 MB / 462.8 MB, free: 3.977 MB / 426.7 MB Notification: Performance of SimCode: time 2.355e-06/0.3809, allocations: 0 / 462.8 MB, free: 3.977 MB / 426.7 MB Notification: Performance of Templates: time 0.1811/0.562, allocations: 26.5 MB / 489.3 MB, free: 128.6 MB / 426.7 MB " [Timeout remaining time 659] 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.366466066800058]