Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.001019/0.001019, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00109/0.00109, allocations: 157.5 kB / 24.99 MB, free: 8.262 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 1.085/1.085, allocations: 177 MB / 205.2 MB, free: 5.59 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.3055/0.3055, allocations: 34.86 MB / 296.6 MB, free: 0.5352 MB / 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.024e-05/4.241e-05, allocations: 2.312 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0114/0.01144, allocations: 11.77 MB / 390.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008915/0.02036, allocations: 3.788 MB / 394.3 MB, free: 2.754 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.02209, allocations: 67.75 kB / 394.4 MB, free: 2.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.02417, allocations: 1.385 MB / 395.8 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.02729, allocations: 1.836 MB / 397.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.0281, allocations: 474.9 kB / 398.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004177/0.03227, allocations: 3.966 MB / 402 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.03558, allocations: 2.161 MB / 404.2 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.03849, allocations: 1.839 MB / 406 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.04101, allocations: 1.964 MB / 408 MB, free: 5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005413/0.04155, allocations: 244 kB / 408.2 MB, free: 4.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.04274, allocations: 0.7762 MB / 409 MB, free: 3.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.04391, allocations: 1.679 MB / 410.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000898/0.0448, allocations: 0.9964 MB / 411.7 MB, free: 1.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.04865, allocations: 3.945 MB / 415.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.04865, allocations: 0 / 415.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04866, allocations: 0 / 415.6 MB, free: 13.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.588e-05/0.04873, allocations: 0 / 415.6 MB, free: 13.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.004829/0.05356, allocations: 4.483 MB / 420.1 MB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.05361, allocations: 12.03 kB / 420.1 MB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006571/0.06018, allocations: 3.625 MB / 423.8 MB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.06282, allocations: 1.71 MB / 425.5 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.06293, allocations: 189 kB / 425.6 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.06329, allocations: 244.2 kB / 425.9 MB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007597/0.07088, allocations: 5.19 MB / 431.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.039e-05/0.07096, allocations: 27.7 kB / 431.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/0.07124, allocations: 115.8 kB / 431.2 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/0.07384, allocations: 2.471 MB / 433.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008297/0.08213, allocations: 3.072 MB / 436.8 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2056/0.2878, allocations: 32.04 MB / 468.8 MB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.2907, allocations: 1.246 MB / 470 MB, free: 72.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.2912, allocations: 354.7 kB / 470.4 MB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/0.2917, allocations: 402.1 kB / 470.8 MB, free: 72.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.2918, allocations: 48.33 kB / 470.8 MB, free: 72.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.441e-06/0.2918, allocations: 0 / 470.8 MB, free: 72.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01159/0.3034, allocations: 5.472 MB / 476.3 MB, free: 70.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3034, allocations: 65.69 kB / 476.4 MB, free: 70.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.3061, allocations: 2.461 MB / 478.8 MB, free: 69.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.3062, allocations: 48.61 kB / 478.9 MB, free: 69.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.3075, allocations: 2.897 MB / 481.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.308, allocations: 0.7651 MB / 482.5 MB, free: 66.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009011/0.3089, allocations: 1.046 MB / 483.6 MB, free: 65.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.309, allocations: 0.539 MB / 484.1 MB, free: 65.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008836/0.3099, allocations: 0.5047 MB / 484.6 MB, free: 65.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.312, allocations: 4.697 MB / 489.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.3159, allocations: 5.771 MB / 495.1 MB, free: 53.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-05/0.316, allocations: 27.03 kB / 495.1 MB, free: 53.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005772/0.3217, allocations: 4.042 MB / 499.2 MB, free: 51.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.3218, allocations: 52.66 kB / 499.2 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.3219, allocations: 98.12 kB / 499.3 MB, free: 51.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.3223, allocations: 167.5 kB / 499.5 MB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.3245, allocations: 1.07 MB / 0.4888 GB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3258, allocations: 2.038 MB / 0.4908 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.3279, allocations: 239 kB / 0.491 GB, free: 49.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.3282, allocations: 291.7 kB / 0.4913 GB, free: 49.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.3295, allocations: 0.5474 MB / 0.4918 GB, free: 49.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.3299, allocations: 293 kB / 0.4921 GB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.3318, allocations: 1.349 MB / 0.4934 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.3319, allocations: 20.94 kB / 0.4935 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3319, allocations: 0.9688 kB / 0.4935 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.3319, allocations: 7.906 kB / 0.4935 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/0.3386, allocations: 4.927 MB / 0.4983 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.3386, allocations: 7.875 kB / 0.4983 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.3392, allocations: 250 kB / 0.4985 GB, free: 46.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.3394, allocations: 53.98 kB / 0.4986 GB, free: 46.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.3394, allocations: 42.89 kB / 0.4986 GB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008899/0.3403, allocations: 1.868 MB / 0.5004 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.3403, allocations: 15.78 kB / 0.5005 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.3426, allocations: 1.951 MB / 0.5024 GB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.343, allocations: 222.7 kB / 0.5026 GB, free: 42.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.3432, allocations: 41.11 kB / 0.5026 GB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.3437, allocations: 76.67 kB / 0.5027 GB, free: 42.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.3439, allocations: 125.4 kB / 0.5028 GB, free: 42.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.5e-05/0.344, allocations: 68.52 kB / 0.5029 GB, free: 42.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001362/0.3453, allocations: 1.037 MB / 0.5039 GB, free: 42.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3453, allocations: 0 / 0.5039 GB, free: 42.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003471/0.3488, allocations: 0.8356 MB / 0.5047 GB, free: 42.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004399/0.3492, allocations: 196.7 kB / 0.5049 GB, free: 42.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.353, allocations: 2.343 MB / 0.5072 GB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.353, allocations: 3.562 kB / 0.5072 GB, free: 41.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.3538, allocations: 0.6688 MB / 0.5078 GB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.355, allocations: 286.3 kB / 0.5081 GB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/0.3649, allocations: 7.12 MB / 0.5151 GB, free: 35.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009767/0.3659, allocations: 1.145 MB / 0.5162 GB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002668/0.3685, allocations: 1.44 MB / 0.5176 GB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.3689, allocations: 177.3 kB / 0.5178 GB, free: 33.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/0.3689, allocations: 0 / 0.5178 GB, free: 33.3 MB / 410.7 MB Notification: Performance of Templates: time 0.02942/0.3983, allocations: 16.64 MB / 0.534 GB, free: 20.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.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.260268003912643]