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.00126/0.00126, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001304/0.001304, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9829/0.9829, allocations: 177 MB / 205.2 MB, free: 5.035 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.273/0.273, allocations: 34.86 MB / 296.6 MB, free: 480 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 1.312e-06/1.312e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.42e-05, allocations: 2.312 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01022/0.01023, allocations: 14.07 MB / 340 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008501/0.01874, allocations: 4.497 MB / 344.5 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.02099, allocations: 91.69 kB / 344.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.02379, allocations: 2.335 MB / 347 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.02855, allocations: 2.112 MB / 349.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.03, allocations: 0.6664 MB / 349.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.03545, allocations: 4.682 MB / 354.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00437/0.03982, allocations: 3.005 MB / 357.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.04403, allocations: 2.522 MB / 359.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.04793, allocations: 2.194 MB / 362.1 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007577/0.04869, allocations: 332 kB / 362.5 MB, free: 2.441 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.05061, allocations: 1.006 MB / 363.5 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.05239, allocations: 2.092 MB / 365.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.05414, allocations: 1.292 MB / 366.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004736/0.05888, allocations: 4.883 MB / 371.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.05888, allocations: 0 / 371.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.05889, allocations: 0 / 371.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001674/0.05905, allocations: 0 / 371.7 MB, free: 9.137 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.005492/0.06454, allocations: 4.726 MB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.06458, allocations: 12.03 kB / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.06845, allocations: 1.526 MB / 378 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.07056, allocations: 1.759 MB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.07068, allocations: 250.6 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/0.07106, allocations: 332.1 kB / 380.3 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/0.07654, allocations: 5.35 MB / 385.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.0766, allocations: 31.7 kB / 385.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.07686, allocations: 155.8 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.07905, allocations: 2.454 MB / 388.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.08316, allocations: 2.978 MB / 391.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03029/0.1134, allocations: 30.14 MB / 421.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.1167, allocations: 1.568 MB / 423 MB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.1172, allocations: 375.4 kB / 423.4 MB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006231/0.1234, allocations: 3.927 MB / 427.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1235, allocations: 51.86 kB / 427.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.348e-06/0.1235, allocations: 0 / 427.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.0116/0.1351, allocations: 5.755 MB / 433.1 MB, free: 9.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1351, allocations: 68.72 kB / 433.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.1373, allocations: 2.802 MB / 436 MB, free: 7.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/0.1374, allocations: 53.69 kB / 436 MB, free: 6.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.1388, allocations: 3.325 MB / 439.3 MB, free: 3.621 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007773/0.1396, allocations: 0.7673 MB / 440.1 MB, free: 2.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008958/0.1405, allocations: 1.12 MB / 441.2 MB, free: 1.715 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.1405, allocations: 301.1 kB / 441.5 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1416, allocations: 0.7385 MB / 442.3 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1474/0.289, allocations: 4.085 MB / 446.4 MB, free: 105.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/0.2934, allocations: 5.33 MB / 451.7 MB, free: 101 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/0.2935, allocations: 33.38 kB / 451.7 MB, free: 101 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.005681/0.2992, allocations: 3.919 MB / 455.6 MB, free: 99.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.2992, allocations: 59.16 kB / 455.7 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.867e-05/0.2993, allocations: 120 kB / 455.8 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.2996, allocations: 219.1 kB / 456 MB, free: 99.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.3019, allocations: 1.346 MB / 457.4 MB, free: 99.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.302, allocations: 240.2 kB / 457.6 MB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.3041, allocations: 238.6 kB / 457.8 MB, free: 99.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/0.3044, allocations: 309 kB / 458.1 MB, free: 99.77 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.001356/0.3058, allocations: 0.596 MB / 458.7 MB, free: 99.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.3061, allocations: 204.7 kB / 458.9 MB, free: 99.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.3072, allocations: 0.9895 MB / 459.9 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.3073, allocations: 22.41 kB / 459.9 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3073, allocations: 0 / 459.9 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3073, allocations: 3.891 kB / 459.9 MB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/0.3134, allocations: 4.666 MB / 464.6 MB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3134, allocations: 11.83 kB / 464.6 MB, free: 97.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.3141, allocations: 270.5 kB / 464.9 MB, free: 97.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.3144, allocations: 221.5 kB / 465.1 MB, free: 97.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.3145, allocations: 31.75 kB / 465.1 MB, free: 97.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.3145, allocations: 23.22 kB / 465.2 MB, free: 97.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.3145, allocations: 20.12 kB / 465.2 MB, free: 97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3161, allocations: 1.619 MB / 466.8 MB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.3165, allocations: 278.1 kB / 467.1 MB, free: 95.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.3167, allocations: 37.38 kB / 467.1 MB, free: 95.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.3172, allocations: 35.89 kB / 467.1 MB, free: 95.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3173, allocations: 125.8 kB / 467.3 MB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/0.3174, allocations: 51.33 kB / 467.3 MB, free: 95.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007409/0.3181, allocations: 0.992 MB / 468.3 MB, free: 94.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3181, allocations: 0 / 468.3 MB, free: 94.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003268/0.3214, allocations: 0.9966 MB / 469.3 MB, free: 93.8 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.0003564/0.3217, allocations: 175.6 kB / 469.5 MB, free: 93.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.3247, allocations: 2.355 MB / 471.8 MB, free: 91.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001383/0.3248, allocations: 100.3 kB / 471.9 MB, free: 91.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.3254, allocations: 0.4979 MB / 472.4 MB, free: 91.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.3273, allocations: 0.6994 MB / 473.1 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.3395, allocations: 8.413 MB / 481.5 MB, free: 82.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.3406, allocations: 1.388 MB / 482.9 MB, free: 81.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001235/0.3418, allocations: 487 kB / 483.4 MB, free: 80.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.3425, allocations: 0.5151 MB / 483.9 MB, free: 80.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3425, allocations: 0 / 483.9 MB, free: 80.05 MB / 410.7 MB Notification: Performance of Templates: time 0.04/0.3825, allocations: 26.26 MB / 0.4982 GB, free: 54.27 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 -s gbode -gbm=radauIIA3 -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: 3.9129170100204647]