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.001944/0.001944, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002493/0.002493, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.47/1.47, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3414/0.3414, allocations: 32.79 MB / 293.9 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 2.074e-06/2.074e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.861e-05/4.069e-05, allocations: 5.828 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01629/0.01633, allocations: 10.72 MB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.02824, allocations: 3.695 MB / 389.7 MB, free: 6.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.03067, allocations: 67.75 kB / 389.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.03445, allocations: 1.366 MB / 391.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.04027, allocations: 1.832 MB / 393 MB, free: 3.219 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.04157, allocations: 470.9 kB / 393.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005834/0.0474, allocations: 3.964 MB / 397.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/0.05104, allocations: 2.157 MB / 399.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003944/0.05499, allocations: 1.847 MB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.05867, allocations: 1.956 MB / 403.3 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007926/0.05946, allocations: 240 kB / 403.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.06146, allocations: 0.7839 MB / 404.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.06368, allocations: 1.675 MB / 406 MB, free: 6.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.0657, allocations: 0.9925 MB / 407 MB, free: 5.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.0738, allocations: 6.045 MB / 413.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.07381, allocations: 0 / 413.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07381, allocations: 0 / 413.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.07396, allocations: 0 / 413.1 MB, free: 15.02 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.008322/0.08229, allocations: 4.069 MB / 417.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.08233, allocations: 8.031 kB / 417.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.09433, allocations: 3.746 MB / 420.9 MB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004374/0.09871, allocations: 1.867 MB / 422.8 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.0989, allocations: 185 kB / 422.9 MB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.09944, allocations: 252.2 kB / 423.2 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.1168, allocations: 10.18 MB / 433.4 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-05/0.1169, allocations: 31.77 kB / 433.4 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003868/0.1173, allocations: 119.8 kB / 433.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004513/0.1218, allocations: 2.459 MB / 436 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1666/0.2884, allocations: 9.34 MB / 445.3 MB, free: 96.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03228/0.3207, allocations: 28.9 MB / 474.2 MB, free: 78.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004629/0.3253, allocations: 2.436 MB / 476.7 MB, free: 77.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3264, allocations: 0.994 MB / 477.6 MB, free: 77.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.3271, allocations: 450.7 kB / 478.1 MB, free: 77.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3271, allocations: 43.19 kB / 478.1 MB, free: 77.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.148e-06/0.3272, allocations: 0 / 478.1 MB, free: 77.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01824/0.3454, allocations: 9.26 MB / 487.4 MB, free: 74.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3454, allocations: 70.09 kB / 487.5 MB, free: 74.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.3487, allocations: 2.69 MB / 490.1 MB, free: 73.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/0.3488, allocations: 51.2 kB / 490.2 MB, free: 73.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.35, allocations: 2.761 MB / 493 MB, free: 70.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.3504, allocations: 0.7233 MB / 493.7 MB, free: 70.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.3514, allocations: 0.9628 MB / 494.6 MB, free: 69.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.3515, allocations: 358.5 kB / 495 MB, free: 69.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.3533, allocations: 1.547 MB / 496.5 MB, free: 69.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/0.3562, allocations: 4.39 MB / 0.4892 GB, free: 64.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005084/0.3612, allocations: 6.565 MB / 0.4956 GB, free: 59.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/0.3613, allocations: 28.34 kB / 0.4956 GB, free: 59.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.007906/0.3692, allocations: 6.106 MB / 0.5016 GB, free: 54.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.3692, allocations: 48 kB / 0.5016 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.783e-05/0.3693, allocations: 101.6 kB / 0.5017 GB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/0.3696, allocations: 176.2 kB / 0.5019 GB, free: 54.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.3724, allocations: 1.074 MB / 0.5029 GB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3736, allocations: 1.668 MB / 0.5046 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.3763, allocations: 243.6 kB / 0.5048 GB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/0.3766, allocations: 290.3 kB / 0.5051 GB, free: 51.41 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.002619/0.3792, allocations: 1.995 MB / 0.507 GB, free: 49.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.3797, allocations: 298.2 kB / 0.5073 GB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.3828, allocations: 2.517 MB / 0.5098 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.3828, allocations: 28 kB / 0.5098 GB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3828, allocations: 0 / 0.5098 GB, free: 47.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3828, allocations: 11.53 kB / 0.5098 GB, free: 47.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/0.3919, allocations: 6.581 MB / 0.5162 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.3919, allocations: 8 kB / 0.5163 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/0.3928, allocations: 247.6 kB / 0.5165 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.3929, allocations: 60.77 kB / 0.5165 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.393, allocations: 37.97 kB / 0.5166 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009417/0.394, allocations: 1.506 MB / 0.5181 GB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.394, allocations: 15.94 kB / 0.5181 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004119/0.3981, allocations: 4.039 MB / 0.522 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/0.3987, allocations: 226.4 kB / 0.5222 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/0.3992, allocations: 47.05 kB / 0.5223 GB, free: 35.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.4003, allocations: 71.92 kB / 0.5223 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.4005, allocations: 128.6 kB / 0.5225 GB, free: 35.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.4006, allocations: 63.94 kB / 0.5225 GB, free: 35.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00214/0.4028, allocations: 1.528 MB / 0.524 GB, free: 33.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4028, allocations: 3.938 kB / 0.524 GB, free: 33.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004191/0.407, allocations: 0.8395 MB / 0.5248 GB, free: 32.85 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.0005214/0.4075, allocations: 190.4 kB / 0.525 GB, free: 32.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005335/0.4128, allocations: 3.727 MB / 0.5287 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.4128, allocations: 2 kB / 0.5287 GB, free: 28.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.4142, allocations: 1.172 MB / 0.5298 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.4163, allocations: 265.2 kB / 0.5301 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.4304, allocations: 8.677 MB / 0.5385 GB, free: 18.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.434, allocations: 2.587 MB / 0.5411 GB, free: 16.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003388/0.4374, allocations: 1.698 MB / 0.5427 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.438, allocations: 184.5 kB / 0.5429 GB, free: 14.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.438, allocations: 0 / 0.5429 GB, free: 14.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03741/0.4754, allocations: 16.8 MB / 0.5593 GB, free: 13.75 MB / 426.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.394648414920084]