Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 158.7 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9792/0.9792, allocations: 177 MB / 205.2 MB, free: 5.023 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3329/0.3329, allocations: 34.86 MB / 296.6 MB, free: 384 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.071e-05, allocations: 2.312 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01703/0.01706, allocations: 14.03 MB / 340 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.02892, allocations: 4.489 MB / 344.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.03126, allocations: 91.62 kB / 344.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.03426, allocations: 2.37 MB / 346.9 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.0387, allocations: 2.147 MB / 349 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.03992, allocations: 0.6665 MB / 349.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.04463, allocations: 4.697 MB / 354.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.04799, allocations: 3.11 MB / 357.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.0514, allocations: 2.553 MB / 360.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.05402, allocations: 2.178 MB / 362.3 MB, free: 2.602 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006531/0.05468, allocations: 332 kB / 362.6 MB, free: 2.277 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.05662, allocations: 0.9985 MB / 363.6 MB, free: 1.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.05811, allocations: 2.08 MB / 365.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.05959, allocations: 1.292 MB / 366.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.06508, allocations: 4.883 MB / 371.8 MB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.06508, allocations: 0 / 371.8 MB, free: 8.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.06508, allocations: 4 kB / 371.8 MB, free: 8.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001652/0.06525, allocations: 0 / 371.8 MB, free: 8.984 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.005543/0.07079, allocations: 4.722 MB / 376.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.07084, allocations: 12.03 kB / 376.6 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/0.07493, allocations: 1.526 MB / 378.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.07767, allocations: 1.752 MB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.07782, allocations: 254.6 kB / 380.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.07825, allocations: 328.1 kB / 380.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007641/0.08589, allocations: 5.35 MB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.525e-05/0.08597, allocations: 35.73 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.08626, allocations: 155.8 kB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002225/0.08848, allocations: 2.454 MB / 388.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006485/0.09497, allocations: 2.981 MB / 391.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.1269, allocations: 30.13 MB / 421.5 MB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.1302, allocations: 1.572 MB / 423.1 MB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.1308, allocations: 383.2 kB / 423.5 MB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/0.1374, allocations: 3.935 MB / 427.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1374, allocations: 47.81 kB / 427.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.5e-06/0.1374, allocations: 0 / 427.4 MB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.01253/0.1499, allocations: 5.731 MB / 433.2 MB, free: 9.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.15, allocations: 68.72 kB / 433.2 MB, free: 9.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.1527, allocations: 2.814 MB / 436.1 MB, free: 6.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.1527, allocations: 45.7 kB / 436.1 MB, free: 6.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.1542, allocations: 3.325 MB / 439.4 MB, free: 3.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.1546, allocations: 0.7712 MB / 440.2 MB, free: 2.711 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008811/0.1555, allocations: 1.116 MB / 441.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.1556, allocations: 309 kB / 441.6 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.1566, allocations: 0.7385 MB / 442.4 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1642/0.3208, allocations: 4.079 MB / 446.4 MB, free: 105.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.3249, allocations: 5.33 MB / 451.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.459e-05/0.325, allocations: 36.84 kB / 451.8 MB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.005162/0.3302, allocations: 3.914 MB / 455.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.3302, allocations: 58.31 kB / 455.8 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.3303, allocations: 123.9 kB / 455.9 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.3306, allocations: 223.6 kB / 456.1 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.3326, allocations: 1.285 MB / 457.4 MB, free: 99.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001462/0.3328, allocations: 247.2 kB / 457.6 MB, free: 99.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.3349, allocations: 230.8 kB / 457.9 MB, free: 99.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/0.3352, allocations: 304.2 kB / 458.2 MB, free: 99.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (736): * Single equations (assignments): 728 * 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.001313/0.3365, allocations: 0.5981 MB / 458.8 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.3368, allocations: 204.6 kB / 459 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3379, allocations: 0.9852 MB / 459.9 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.3379, allocations: 23.5 kB / 460 MB, free: 99.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3379, allocations: 3.938 kB / 460 MB, free: 99.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3379, allocations: 5.297 kB / 460 MB, free: 99.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/0.3435, allocations: 4.664 MB / 464.6 MB, free: 97.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.3435, allocations: 11.94 kB / 464.7 MB, free: 97.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.3441, allocations: 250.1 kB / 464.9 MB, free: 97.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.3444, allocations: 217.6 kB / 465.1 MB, free: 97.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.3445, allocations: 46.64 kB / 465.2 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.3445, allocations: 20.25 kB / 465.2 MB, free: 97.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3445, allocations: 15.94 kB / 465.2 MB, free: 97.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.3459, allocations: 1.616 MB / 466.8 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.3463, allocations: 277.5 kB / 467.1 MB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.3465, allocations: 42.77 kB / 467.1 MB, free: 95.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/0.347, allocations: 30.7 kB / 467.1 MB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.3471, allocations: 127.5 kB / 467.3 MB, free: 95.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.3472, allocations: 53.27 kB / 467.3 MB, free: 95.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007354/0.3479, allocations: 0.9862 MB / 468.3 MB, free: 94.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3479, allocations: 0 / 468.3 MB, free: 94.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003223/0.3512, allocations: 0.9995 MB / 469.3 MB, free: 93.88 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.0003421/0.3515, allocations: 181.9 kB / 469.5 MB, free: 93.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.3545, allocations: 2.356 MB / 471.8 MB, free: 91.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001361/0.3546, allocations: 96.41 kB / 471.9 MB, free: 91.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.3552, allocations: 0.4956 MB / 472.4 MB, free: 91.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.3571, allocations: 0.695 MB / 473.1 MB, free: 90.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.3687, allocations: 8.42 MB / 481.5 MB, free: 82.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.37, allocations: 1.385 MB / 482.9 MB, free: 81.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001374/0.3713, allocations: 484.5 kB / 483.4 MB, free: 80.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/0.372, allocations: 0.509 MB / 483.9 MB, free: 80.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.372, allocations: 0 / 483.9 MB, free: 80.14 MB / 410.7 MB Notification: Performance of Templates: time 0.04024/0.4123, allocations: 26.23 MB / 0.4982 GB, free: 54.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.1071083401329815]