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.001271/0.001271, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001494/0.001494, allocations: 207.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2332/0.2332, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 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 0.002104/0.002104, allocations: 67.91 kB / 0.4966 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3926, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01357/0.4062, allocations: 10.71 MB / 0.5715 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009073/0.4152, allocations: 3.672 MB / 0.5751 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.4173, allocations: 71.75 kB / 0.5752 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.4205, allocations: 1.304 MB / 0.5765 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.4257, allocations: 1.775 MB / 0.5782 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.427, allocations: 423.2 kB / 0.5786 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006046/0.433, allocations: 3.587 MB / 0.5821 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.436, allocations: 1.836 MB / 0.5839 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.4385, allocations: 1.218 MB / 0.5851 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.4426, allocations: 1.927 MB / 0.587 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.4433, allocations: 236 kB / 0.5872 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.4453, allocations: 0.7254 MB / 0.5879 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001745/0.4471, allocations: 1.601 MB / 0.5895 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.4493, allocations: 1.339 MB / 0.5908 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.4576, allocations: 6.117 MB / 0.5968 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4576, allocations: 0 / 0.5968 GB, free: 15.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4576, allocations: 0 / 0.5968 GB, free: 15.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002134/0.4578, allocations: 0 / 0.5968 GB, free: 15.48 MB / 446.1 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.008618/0.4665, allocations: 4.061 MB / 0.6007 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4665, allocations: 8.031 kB / 0.6007 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.4775, allocations: 3.098 MB / 0.6037 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/0.4835, allocations: 1.869 MB / 0.6056 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.4837, allocations: 189 kB / 0.6058 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009655/0.4847, allocations: 255.7 kB / 0.606 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.5042, allocations: 10.17 MB / 0.6159 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.5044, allocations: 31.77 kB / 0.616 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/0.5048, allocations: 119.8 kB / 0.6161 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004368/0.5091, allocations: 2.463 MB / 0.6185 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.021/0.5301, allocations: 9.341 MB / 0.6276 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05013/0.5803, allocations: 28.64 MB / 0.6556 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005948/0.5862, allocations: 2.34 MB / 0.6579 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.5878, allocations: 0.9821 MB / 0.6588 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.5888, allocations: 442.6 kB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.5889, allocations: 51.8 kB / 0.6593 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.639e-06/0.5889, allocations: 0 / 0.6593 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.0203/0.6092, allocations: 8.928 MB / 0.668 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.6092, allocations: 72.66 kB / 0.6681 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.613, allocations: 2.605 MB / 0.6706 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.6132, allocations: 49.7 kB / 0.6707 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.6154, allocations: 2.787 MB / 0.6734 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008956/0.6163, allocations: 0.7364 MB / 0.6741 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.6177, allocations: 0.9771 MB / 0.6751 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6179, allocations: 365.7 kB / 0.6754 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002487/0.6204, allocations: 1.544 MB / 0.6769 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004758/0.6251, allocations: 4.387 MB / 0.6812 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/0.6337, allocations: 6.567 MB / 0.6876 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.6338, allocations: 28 kB / 0.6876 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01088/0.6447, allocations: 5.848 MB / 0.6934 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.242e-05/0.6448, allocations: 51.94 kB / 0.6934 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.6449, allocations: 100 kB / 0.6935 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.6453, allocations: 173.6 kB / 0.6937 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/0.6486, allocations: 1.076 MB / 0.6947 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.6504, allocations: 1.662 MB / 0.6963 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.653, allocations: 204 kB / 0.6965 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004689/0.6535, allocations: 300 kB / 0.6968 GB, free: 4.562 MB / 0.5294 GB 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.003269/0.6568, allocations: 1.997 MB / 0.6988 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.6572, allocations: 246.3 kB / 0.699 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.6611, allocations: 2.523 MB / 0.7015 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.6611, allocations: 20 kB / 0.7015 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6611, allocations: 4 kB / 0.7015 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.6611, allocations: 11.97 kB / 0.7015 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.6731, allocations: 6.521 MB / 0.7079 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.6732, allocations: 16 kB / 0.7079 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6742, allocations: 243.6 kB / 0.7081 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.6744, allocations: 56.83 kB / 0.7082 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6745, allocations: 36 kB / 0.7082 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.676, allocations: 1.499 MB / 0.7097 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.676, allocations: 15.94 kB / 0.7097 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.6815, allocations: 4.014 MB / 0.7136 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007849/0.6823, allocations: 222.3 kB / 0.7138 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.6826, allocations: 32.19 kB / 0.7139 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.6833, allocations: 63.95 kB / 0.7139 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.6836, allocations: 124.5 kB / 0.714 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.6837, allocations: 71.97 kB / 0.7141 GB, free: 2.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002346/0.6861, allocations: 1.466 MB / 0.7155 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6861, allocations: 0 / 0.7155 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003633/0.6897, allocations: 0.7772 MB / 0.7163 GB, free: 152 kB / 0.545 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.0004367/0.6901, allocations: 182.1 kB / 0.7165 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006914/0.697, allocations: 3.72 MB / 0.7201 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-05/0.6971, allocations: 4 kB / 0.7201 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.699, allocations: 1.171 MB / 0.7212 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.7011, allocations: 263.8 kB / 0.7215 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.7169, allocations: 8.642 MB / 0.7299 GB, free: 2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2938/1.011, allocations: 2.582 MB / 0.7325 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004714/1.015, allocations: 1.697 MB / 0.7341 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/1.016, allocations: 180.5 kB / 0.7343 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/1.016, allocations: 0 / 0.7343 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04168/1.058, allocations: 21.83 MB / 0.7556 GB, free: 140.5 MB / 0.5606 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: 6.782625683117658]