Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.0009408/0.0009408, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001037/0.001037, allocations: 162.8 kB / 25.61 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 206 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 32.81 MB / 295.4 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 377.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.289e-05, allocations: 5.406 kB / 377.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008612/0.008635, allocations: 11.51 MB / 388.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006107/0.01474, allocations: 3.765 MB / 392.5 MB, free: 5.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.01628, allocations: 67.75 kB / 392.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.01832, allocations: 1.374 MB / 394 MB, free: 3.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.02149, allocations: 1.847 MB / 395.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.02223, allocations: 466.9 kB / 396.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.02589, allocations: 3.955 MB / 400.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.02866, allocations: 2.16 MB / 402.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.03148, allocations: 1.878 MB / 404.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.0342, allocations: 1.937 MB / 406.2 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006067/0.03481, allocations: 240 kB / 406.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.0361, allocations: 0.7722 MB / 407.2 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001613/0.03772, allocations: 1.675 MB / 408.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.03914, allocations: 0.9925 MB / 409.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.04387, allocations: 3.918 MB / 413.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.04387, allocations: 4 kB / 413.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.04387, allocations: 0 / 413.8 MB, free: 15.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001472/0.04402, allocations: 0 / 413.8 MB, free: 15.72 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.005865/0.04989, allocations: 4.353 MB / 418.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.04992, allocations: 12.03 kB / 418.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005801/0.05572, allocations: 1.84 MB / 420 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.0581, allocations: 1.538 MB / 421.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.05823, allocations: 185 kB / 421.7 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.05866, allocations: 248.2 kB / 422 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006901/0.06556, allocations: 4.689 MB / 426.7 MB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.976e-05/0.06563, allocations: 39.73 kB / 426.7 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.06592, allocations: 111.8 kB / 426.8 MB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.06977, allocations: 2.144 MB / 429 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006814/0.07658, allocations: 2.453 MB / 431.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/0.2556, allocations: 31.62 MB / 463 MB, free: 70.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.258, allocations: 1.154 MB / 464.2 MB, free: 70.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.2584, allocations: 302.2 kB / 464.5 MB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004327/0.2589, allocations: 404.6 kB / 464.9 MB, free: 70.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2589, allocations: 50.77 kB / 464.9 MB, free: 70.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.68e-06/0.2589, allocations: 0 / 464.9 MB, free: 70.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.008664/0.2676, allocations: 4.677 MB / 469.6 MB, free: 69.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.2676, allocations: 66.31 kB / 469.7 MB, free: 69.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.2695, allocations: 2.476 MB / 472.2 MB, free: 68.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.2695, allocations: 50.02 kB / 472.2 MB, free: 68.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009491/0.2705, allocations: 2.93 MB / 475.1 MB, free: 67.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.2708, allocations: 0.7717 MB / 475.9 MB, free: 66.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/0.2715, allocations: 1.068 MB / 477 MB, free: 66.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.2716, allocations: 0.5485 MB / 477.5 MB, free: 66.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.2723, allocations: 460.8 kB / 478 MB, free: 66.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.2743, allocations: 4.71 MB / 482.7 MB, free: 60.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.2771, allocations: 5.692 MB / 488.4 MB, free: 54.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.2772, allocations: 28.66 kB / 488.4 MB, free: 54.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.003685/0.2809, allocations: 3.776 MB / 492.2 MB, free: 53.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.2809, allocations: 50.97 kB / 492.2 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.571e-05/0.281, allocations: 106.6 kB / 492.3 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.2812, allocations: 162.1 kB / 492.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.2828, allocations: 1.055 MB / 493.5 MB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.2836, allocations: 2.012 MB / 495.6 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.2851, allocations: 181.2 kB / 495.7 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.2854, allocations: 258.8 kB / 496 MB, free: 51.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * 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 (601): * Single equations (assignments): 594 * 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.0009927/0.2864, allocations: 0.5509 MB / 496.5 MB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.2867, allocations: 290.3 kB / 496.8 MB, free: 50.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.288, allocations: 1.266 MB / 498.1 MB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.288, allocations: 21.22 kB / 498.1 MB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.288, allocations: 5.469 kB / 498.1 MB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.288, allocations: 6.844 kB / 498.1 MB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/0.2939, allocations: 4.768 MB / 0.4911 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.2939, allocations: 8.625 kB / 0.4911 GB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/0.2944, allocations: 223.6 kB / 0.4913 GB, free: 47.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.2946, allocations: 50.09 kB / 0.4914 GB, free: 47.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.2946, allocations: 40.69 kB / 0.4914 GB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006475/0.2953, allocations: 1.831 MB / 0.4932 GB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.2953, allocations: 15.28 kB / 0.4932 GB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.2972, allocations: 1.811 MB / 0.495 GB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.2975, allocations: 229.5 kB / 0.4952 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.2977, allocations: 36.94 kB / 0.4952 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.2981, allocations: 29.75 kB / 0.4953 GB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2983, allocations: 133.6 kB / 0.4954 GB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.2983, allocations: 56.75 kB / 0.4954 GB, free: 44.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008489/0.2992, allocations: 0.98 MB / 0.4964 GB, free: 44.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2992, allocations: 0 / 0.4964 GB, free: 44.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002868/0.3021, allocations: 0.836 MB / 0.4972 GB, free: 44.01 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.0003039/0.3024, allocations: 196.4 kB / 0.4974 GB, free: 43.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.3048, allocations: 2.204 MB / 0.4996 GB, free: 43.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3048, allocations: 4.781 kB / 0.4996 GB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.3053, allocations: 0.6432 MB / 0.5002 GB, free: 42.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.3062, allocations: 270.5 kB / 0.5004 GB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009709/0.3159, allocations: 7.096 MB / 0.5074 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.3169, allocations: 1.141 MB / 0.5085 GB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009422/0.3179, allocations: 386 kB / 0.5089 GB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.3183, allocations: 442.7 kB / 0.5093 GB, free: 38.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.916e-06/0.3183, allocations: 0 / 0.5093 GB, free: 38.31 MB / 410.7 MB Notification: Performance of Templates: time 0.03454/0.3529, allocations: 19.28 MB / 0.5281 GB, free: 24.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.026278102770448]