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.001122/0.001122, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001477/0.001477, allocations: 169.1 kB / 24.82 MB, free: 8.867 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.089/1.089, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3151/0.3151, allocations: 32.8 MB / 294.6 MB, free: 1.242 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 3.878e-06/3.878e-06, allocations: 4 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.688e-05, allocations: 6.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01475/0.01479, allocations: 11.51 MB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009556/0.02435, allocations: 3.761 MB / 391.8 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.02711, allocations: 67.75 kB / 391.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.03021, allocations: 1.381 MB / 393.2 MB, free: 3.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005168/0.03538, allocations: 1.84 MB / 395.1 MB, free: 1.742 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009323/0.03631, allocations: 466.9 kB / 395.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00402/0.04033, allocations: 3.964 MB / 399.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.0435, allocations: 2.157 MB / 401.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.04667, allocations: 1.875 MB / 403.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.04963, allocations: 1.937 MB / 405.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008147/0.05045, allocations: 240 kB / 405.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.05221, allocations: 0.7762 MB / 406.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.05369, allocations: 1.675 MB / 408.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.05505, allocations: 0.9925 MB / 409.1 MB, free: 3.613 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004471/0.05952, allocations: 3.922 MB / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.05953, allocations: 0 / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05953, allocations: 0 / 413 MB, free: 15.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001449/0.05968, allocations: 0 / 413 MB, free: 15.68 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.005563/0.06524, allocations: 4.357 MB / 417.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.06529, allocations: 8.031 kB / 417.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004769/0.07006, allocations: 1.832 MB / 419.2 MB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.07261, allocations: 1.538 MB / 420.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.07273, allocations: 189 kB / 421 MB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004219/0.07315, allocations: 248.2 kB / 421.2 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006619/0.07977, allocations: 4.701 MB / 425.9 MB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.07984, allocations: 23.77 kB / 425.9 MB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.08008, allocations: 115.8 kB / 426 MB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001929/0.08201, allocations: 2.144 MB / 428.2 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005511/0.08752, allocations: 2.455 MB / 430.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2018/0.2893, allocations: 31.61 MB / 462.3 MB, free: 70.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.2917, allocations: 1.161 MB / 463.4 MB, free: 70.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.2921, allocations: 298.1 kB / 463.7 MB, free: 70.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/0.2926, allocations: 407 kB / 464.1 MB, free: 70.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.2926, allocations: 49.23 kB / 464.1 MB, free: 70.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.6e-06/0.2926, allocations: 7 kB / 464.2 MB, free: 70.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.009316/0.3019, allocations: 4.683 MB / 468.8 MB, free: 69.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.302, allocations: 65.16 kB / 468.9 MB, free: 69.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.3042, allocations: 2.474 MB / 471.4 MB, free: 69.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.3043, allocations: 50.92 kB / 471.4 MB, free: 69.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.3054, allocations: 2.927 MB / 474.4 MB, free: 67.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/0.3058, allocations: 0.7632 MB / 475.1 MB, free: 67.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008625/0.3067, allocations: 1.075 MB / 476.2 MB, free: 66.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.3068, allocations: 0.5468 MB / 476.7 MB, free: 66.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.3075, allocations: 458.5 kB / 477.2 MB, free: 66.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.3095, allocations: 4.72 MB / 481.9 MB, free: 60.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.3129, allocations: 5.679 MB / 487.6 MB, free: 54.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.418e-05/0.3129, allocations: 27.69 kB / 487.6 MB, free: 54.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004169/0.3171, allocations: 3.781 MB / 491.4 MB, free: 53.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.3172, allocations: 47.94 kB / 491.4 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.3173, allocations: 110.2 kB / 491.5 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.3175, allocations: 169.5 kB / 491.7 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.3192, allocations: 1.054 MB / 492.8 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009103/0.3201, allocations: 2.008 MB / 494.8 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.322, allocations: 183.1 kB / 495 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/0.3223, allocations: 257.5 kB / 495.2 MB, free: 51.39 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.001316/0.3236, allocations: 0.559 MB / 495.8 MB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.324, allocations: 290.4 kB / 496 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3255, allocations: 1.257 MB / 497.3 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/0.3255, allocations: 27.7 kB / 497.3 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3255, allocations: 4.969 kB / 497.3 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3255, allocations: 7.188 kB / 497.3 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007485/0.333, allocations: 4.761 MB / 0.4903 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.333, allocations: 9.75 kB / 0.4903 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.3336, allocations: 221.9 kB / 0.4906 GB, free: 47.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.3338, allocations: 49.19 kB / 0.4906 GB, free: 47.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/0.3339, allocations: 40.42 kB / 0.4906 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/0.3348, allocations: 1.838 MB / 0.4924 GB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.3348, allocations: 14.59 kB / 0.4925 GB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.3373, allocations: 1.816 MB / 0.4942 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/0.3378, allocations: 230.4 kB / 0.4944 GB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.338, allocations: 35.91 kB / 0.4945 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.3384, allocations: 34.38 kB / 0.4945 GB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3386, allocations: 118.5 kB / 0.4946 GB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.3386, allocations: 58.3 kB / 0.4947 GB, free: 44.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3399, allocations: 0.9858 MB / 0.4956 GB, free: 44.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3399, allocations: 0 / 0.4956 GB, free: 44.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003922/0.3438, allocations: 0.8358 MB / 0.4965 GB, free: 44.08 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.0004875/0.3443, allocations: 192.8 kB / 0.4966 GB, free: 43.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.3476, allocations: 2.216 MB / 0.4988 GB, free: 43.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.3476, allocations: 1.5 kB / 0.4988 GB, free: 43.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.3483, allocations: 0.6346 MB / 0.4994 GB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3495, allocations: 276.9 kB / 0.4997 GB, free: 42.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.3599, allocations: 7.086 MB / 0.5066 GB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3609, allocations: 1.147 MB / 0.5077 GB, free: 38.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000966/0.3619, allocations: 376.8 kB / 0.5081 GB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.3624, allocations: 438.8 kB / 0.5085 GB, free: 38.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/0.3624, allocations: 4 kB / 0.5085 GB, free: 38.39 MB / 410.7 MB Notification: Performance of Templates: time 0.03463/0.397, allocations: 18.9 MB / 0.527 GB, free: 25.21 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.31494638742879]