Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008626/0.0008626, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003626/0.003626, allocations: 163.6 kB / 24.7 MB, free: 9.426 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 0.8598/0.8598, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2234/0.2234, allocations: 34.25 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.08e-05, allocations: 2.281 kB / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.185/0.185, allocations: 10.73 MB / 454.2 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1897, allocations: 3.687 MB / 457.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006958/0.1904, allocations: 69.69 kB / 457.9 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.1917, allocations: 1.334 MB / 459.3 MB, free: 35.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.1935, allocations: 1.836 MB / 461.1 MB, free: 34.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.1939, allocations: 455.3 kB / 461.5 MB, free: 34.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.1959, allocations: 3.971 MB / 465.5 MB, free: 33.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.197, allocations: 2.092 MB / 467.6 MB, free: 32.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1981, allocations: 1.835 MB / 469.4 MB, free: 31.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1993, allocations: 1.967 MB / 471.4 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.1995, allocations: 243.2 kB / 471.6 MB, free: 30.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.2003, allocations: 0.7819 MB / 472.4 MB, free: 30.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.2009, allocations: 1.661 MB / 474.1 MB, free: 30.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.2014, allocations: 1.002 MB / 475.1 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.2046, allocations: 6.041 MB / 481.1 MB, free: 27.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2046, allocations: 0 / 481.1 MB, free: 27.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2046, allocations: 0 / 481.1 MB, free: 27.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.2046, allocations: 4 kB / 481.1 MB, free: 27.44 MB / 410.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.004078/0.2087, allocations: 4.064 MB / 485.2 MB, free: 25.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2087, allocations: 13.69 kB / 485.2 MB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006163/0.2149, allocations: 3.14 MB / 488.4 MB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.2173, allocations: 1.853 MB / 490.2 MB, free: 23.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.2173, allocations: 188.9 kB / 490.4 MB, free: 23.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.2177, allocations: 248.5 kB / 490.6 MB, free: 23.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.2275, allocations: 10.19 MB / 0.4891 GB, free: 19.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.2276, allocations: 30.81 kB / 0.4891 GB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.2278, allocations: 114.8 kB / 0.4892 GB, free: 19.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.2301, allocations: 2.466 MB / 0.4916 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009001/0.2391, allocations: 9.346 MB / 0.5008 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.2596, allocations: 28.84 MB / 0.5289 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.2628, allocations: 2.418 MB / 0.5313 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008415/0.2636, allocations: 0.9968 MB / 0.5323 GB, free: 9.738 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.2641, allocations: 447.8 kB / 0.5327 GB, free: 9.309 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.2641, allocations: 47.88 kB / 0.5327 GB, free: 9.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 4.048e-06/0.2641, allocations: 0 / 0.5327 GB, free: 9.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01152/0.2757, allocations: 9.209 MB / 0.5417 GB, free: 8 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2757, allocations: 72.72 kB / 0.5418 GB, free: 15.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.278, allocations: 2.679 MB / 0.5444 GB, free: 13.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.2781, allocations: 49.7 kB / 0.5445 GB, free: 13.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2791, allocations: 2.768 MB / 0.5472 GB, free: 10.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.2795, allocations: 0.7325 MB / 0.5479 GB, free: 9.625 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007851/0.2803, allocations: 0.9575 MB / 0.5488 GB, free: 8.656 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2804, allocations: 357.9 kB / 0.5491 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.2818, allocations: 1.548 MB / 0.5507 GB, free: 6.746 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.2846, allocations: 4.387 MB / 0.5549 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.289, allocations: 6.56 MB / 0.5614 GB, free: 9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.873e-05/0.289, allocations: 35.94 kB / 0.5614 GB, free: 8.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005243/0.2943, allocations: 5.848 MB / 0.5671 GB, free: 3.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.2943, allocations: 48.97 kB / 0.5671 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-05/0.2944, allocations: 100 kB / 0.5672 GB, free: 2.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.2946, allocations: 176.8 kB / 0.5674 GB, free: 2.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.2962, allocations: 1.072 MB / 0.5685 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.2973, allocations: 1.671 MB / 0.5701 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.2988, allocations: 235.8 kB / 0.5703 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.299, allocations: 292 kB / 0.5706 GB, free: 15.43 MB / 490.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.002187/0.3012, allocations: 1.998 MB / 0.5725 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.3014, allocations: 246.3 kB / 0.5728 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.3036, allocations: 2.523 MB / 0.5752 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.3036, allocations: 20 kB / 0.5753 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3036, allocations: 4 kB / 0.5753 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.3036, allocations: 15.89 kB / 0.5753 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.3101, allocations: 6.571 MB / 0.5817 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.3101, allocations: 15.88 kB / 0.5817 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.3106, allocations: 247.6 kB / 0.5819 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.992e-05/0.3107, allocations: 57.89 kB / 0.582 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/0.3108, allocations: 43.98 kB / 0.582 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.3117, allocations: 1.494 MB / 0.5835 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.3117, allocations: 18.98 kB / 0.5835 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002991/0.3147, allocations: 3.99 MB / 0.5874 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.3149, allocations: 230.3 kB / 0.5876 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.3151, allocations: 47.92 kB / 0.5877 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.3155, allocations: 75.91 kB / 0.5878 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3156, allocations: 124.6 kB / 0.5879 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.3157, allocations: 64.42 kB / 0.5879 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001264/0.3169, allocations: 1.524 MB / 0.5894 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3169, allocations: 0 / 0.5894 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002179/0.3191, allocations: 0.832 MB / 0.5902 GB, free: 10.83 MB / 0.4948 GB 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.000475/0.3196, allocations: 190.8 kB / 0.5904 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.3229, allocations: 3.731 MB / 0.5941 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3229, allocations: 4 kB / 0.5941 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.3238, allocations: 1.159 MB / 0.5952 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008588/0.3247, allocations: 264.4 kB / 0.5954 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.3335, allocations: 8.995 MB / 0.6042 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/0.3357, allocations: 2.583 MB / 0.6068 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.3361, allocations: 232.4 kB / 0.607 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/0.3361, allocations: 0 / 0.607 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of Templates: time 0.2269/0.563, allocations: 65.92 MB / 0.6713 GB, free: 141.2 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.4984524277970195]