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.001073/0.001073, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001174/0.001174, allocations: 160.5 kB / 24.99 MB, free: 9.277 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2502/0.2502, allocations: 32.81 MB / 294.6 MB, free: 1.203 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.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.505e-05, allocations: 13.69 kB / 376 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009536/0.009561, allocations: 11.77 MB / 387.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.01601, allocations: 3.781 MB / 391.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.01751, allocations: 67.75 kB / 391.6 MB, free: 5.246 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.01943, allocations: 1.397 MB / 393 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.02246, allocations: 1.832 MB / 394.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007404/0.0232, allocations: 466.9 kB / 395.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.0271, allocations: 3.958 MB / 399.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.02969, allocations: 2.172 MB / 401.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.03261, allocations: 1.839 MB / 403.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.03513, allocations: 1.968 MB / 405.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005851/0.03572, allocations: 240 kB / 405.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.03702, allocations: 0.7762 MB / 406.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.03818, allocations: 1.675 MB / 407.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.03933, allocations: 1.004 MB / 408.9 MB, free: 3.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.04359, allocations: 3.93 MB / 412.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.04359, allocations: 0 / 412.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.0436, allocations: 0 / 412.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.493e-05/0.04369, allocations: 4 kB / 412.9 MB, free: 15.91 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.00497/0.04866, allocations: 4.491 MB / 417.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.0487, allocations: 12.03 kB / 417.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006627/0.05533, allocations: 3.625 MB / 421 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.05787, allocations: 1.717 MB / 422.7 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.05798, allocations: 185 kB / 422.9 MB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.05835, allocations: 248.2 kB / 423.2 MB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007038/0.06539, allocations: 5.171 MB / 428.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/0.06544, allocations: 39.69 kB / 428.4 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.0657, allocations: 119.8 kB / 428.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.06811, allocations: 2.459 MB / 430.9 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007014/0.07512, allocations: 3.072 MB / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1669/0.2421, allocations: 32.05 MB / 466.1 MB, free: 73.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.2447, allocations: 1.237 MB / 467.3 MB, free: 73.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.2452, allocations: 349.5 kB / 467.6 MB, free: 73.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/0.2456, allocations: 406.6 kB / 468 MB, free: 73.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2456, allocations: 51.61 kB / 468.1 MB, free: 73.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.759e-06/0.2456, allocations: 0 / 468.1 MB, free: 73.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.009432/0.2551, allocations: 5.467 MB / 473.6 MB, free: 72.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.2551, allocations: 65.22 kB / 473.6 MB, free: 72.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.2571, allocations: 2.473 MB / 476.1 MB, free: 71.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.2572, allocations: 48.27 kB / 476.1 MB, free: 71.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009714/0.2581, allocations: 2.895 MB / 479 MB, free: 69.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.2585, allocations: 0.7672 MB / 479.8 MB, free: 68.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.2592, allocations: 1.039 MB / 480.8 MB, free: 68.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.2593, allocations: 0.5447 MB / 481.4 MB, free: 67.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.2601, allocations: 0.5051 MB / 481.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.2618, allocations: 4.696 MB / 486.6 MB, free: 61.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003204/0.265, allocations: 5.768 MB / 492.4 MB, free: 55.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-05/0.2651, allocations: 27.12 kB / 492.4 MB, free: 55.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004314/0.2694, allocations: 4.041 MB / 496.4 MB, free: 53.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.2694, allocations: 52.78 kB / 496.5 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/0.2695, allocations: 96.72 kB / 496.6 MB, free: 53.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.2698, allocations: 173.2 kB / 496.7 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.2717, allocations: 1.068 MB / 497.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009641/0.2727, allocations: 2.041 MB / 499.8 MB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.2745, allocations: 235.1 kB / 0.4884 GB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.2748, allocations: 295.2 kB / 0.4886 GB, free: 51.79 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.001127/0.2759, allocations: 0.5504 MB / 0.4892 GB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.2763, allocations: 290.4 kB / 0.4894 GB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.2779, allocations: 1.344 MB / 0.4908 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.278, allocations: 24 kB / 0.4908 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.278, allocations: 5.406 kB / 0.4908 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.278, allocations: 9.562 kB / 0.4908 GB, free: 50.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006101/0.2841, allocations: 4.924 MB / 0.4956 GB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.2841, allocations: 9.625 kB / 0.4956 GB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.2846, allocations: 251.8 kB / 0.4959 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.2848, allocations: 60.58 kB / 0.4959 GB, free: 48.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.2848, allocations: 44.39 kB / 0.496 GB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006669/0.2855, allocations: 1.865 MB / 0.4978 GB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.2855, allocations: 18.19 kB / 0.4978 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.2876, allocations: 1.94 MB / 0.4997 GB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.2878, allocations: 229.5 kB / 0.4999 GB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.288, allocations: 40.16 kB / 0.4999 GB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.2884, allocations: 76.03 kB / 0.5 GB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.2886, allocations: 127.7 kB / 0.5001 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/0.2886, allocations: 65.27 kB / 0.5002 GB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009266/0.2896, allocations: 1.041 MB / 0.5012 GB, free: 44.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2896, allocations: 0 / 0.5012 GB, free: 44.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002412/0.292, allocations: 0.8237 MB / 0.502 GB, free: 44.46 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.0003306/0.2923, allocations: 198.9 kB / 0.5022 GB, free: 44.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.295, allocations: 2.348 MB / 0.5045 GB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.295, allocations: 3.156 kB / 0.5045 GB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.2955, allocations: 0.678 MB / 0.5052 GB, free: 43.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.2964, allocations: 261.4 kB / 0.5054 GB, free: 43.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.3039, allocations: 7.116 MB / 0.5124 GB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.3048, allocations: 1.142 MB / 0.5135 GB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001778/0.3065, allocations: 1.444 MB / 0.5149 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3068, allocations: 185.2 kB / 0.5151 GB, free: 37.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3068, allocations: 0 / 0.5151 GB, free: 37.35 MB / 410.7 MB Notification: Performance of Templates: time 0.02851/0.3354, allocations: 16.65 MB / 0.5313 GB, free: 25.28 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.059944791952148]