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.001608/0.001608, allocations: 84.14 kB / 20.68 MB, free: 1.035 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.001877/0.001877, allocations: 164.7 kB / 23.96 MB, free: 4.16 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.468/1.468, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.2213/0.2213, allocations: 34.28 MB / 294.9 MB, free: 14.59 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 1.472e-06/1.472e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.927e-05, allocations: 5.094 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2167/0.2167, allocations: 10.73 MB / 453.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.2247, allocations: 3.681 MB / 457.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002145/0.2269, allocations: 68.78 kB / 457.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.23, allocations: 1.351 MB / 458.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.2349, allocations: 1.828 MB / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2361, allocations: 460.3 kB / 460.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006107/0.2422, allocations: 3.972 MB / 464.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/0.2468, allocations: 2.093 MB / 466.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/0.2528, allocations: 1.843 MB / 468.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/0.2589, allocations: 1.957 MB / 470.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.2604, allocations: 243.2 kB / 470.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.2646, allocations: 0.7779 MB / 471.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00395/0.2685, allocations: 1.671 MB / 473.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003614/0.2721, allocations: 0.9957 MB / 474.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.2849, allocations: 6.041 MB / 480.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.2849, allocations: 4 kB / 480.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2849, allocations: 0 / 480.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003764/0.2853, allocations: 0 / 480.4 MB, free: 15.89 MB / 382.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.01616/0.3014, allocations: 4.068 MB / 484.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.3015, allocations: 12.03 kB / 484.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/0.3207, allocations: 3.149 MB / 487.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007295/0.328, allocations: 1.844 MB / 489.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/0.3283, allocations: 189 kB / 489.6 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.33, allocations: 255 kB / 489.9 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.3501, allocations: 10.19 MB / 0.4883 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/0.3502, allocations: 27.75 kB / 0.4884 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.3506, allocations: 115.8 kB / 0.4885 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004416/0.355, allocations: 2.471 MB / 0.4909 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.376, allocations: 9.346 MB / 0.5 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.4289, allocations: 28.82 MB / 0.5282 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009159/0.4381, allocations: 2.43 MB / 0.5305 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.4406, allocations: 0.9938 MB / 0.5315 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.4419, allocations: 444.9 kB / 0.5319 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/0.442, allocations: 43.88 kB / 0.532 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 7.614e-06/0.442, allocations: 0 / 0.532 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.03403/0.4761, allocations: 9.213 MB / 0.541 GB, free: 5.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.4761, allocations: 68.72 kB / 0.541 GB, free: 5.293 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/0.4817, allocations: 2.679 MB / 0.5437 GB, free: 2.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.4819, allocations: 45.7 kB / 0.5437 GB, free: 2.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002952/0.4849, allocations: 2.768 MB / 0.5464 GB, free: 15.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/0.486, allocations: 0.7247 MB / 0.5471 GB, free: 15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/0.488, allocations: 0.9614 MB / 0.5481 GB, free: 14.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.4882, allocations: 357.9 kB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/0.4921, allocations: 1.555 MB / 0.5499 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/0.4981, allocations: 4.379 MB / 0.5542 GB, free: 6.324 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009732/0.5078, allocations: 6.568 MB / 0.5606 GB, free: 14.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/0.5079, allocations: 32 kB / 0.5606 GB, free: 14.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01176/0.5197, allocations: 5.846 MB / 0.5663 GB, free: 8.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.5198, allocations: 50.66 kB / 0.5664 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002058/0.52, allocations: 100 kB / 0.5665 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.5205, allocations: 184 kB / 0.5667 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.5242, allocations: 1.072 MB / 0.5677 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.526, allocations: 1.67 MB / 0.5693 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.5293, allocations: 243.9 kB / 0.5696 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006855/0.53, allocations: 288 kB / 0.5698 GB, free: 4.797 MB / 478.1 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.004153/0.5342, allocations: 1.997 MB / 0.5718 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/0.5347, allocations: 246.4 kB / 0.572 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.5393, allocations: 2.53 MB / 0.5745 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/0.5394, allocations: 20 kB / 0.5745 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5394, allocations: 3.938 kB / 0.5745 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.5394, allocations: 7.969 kB / 0.5745 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.5539, allocations: 6.575 MB / 0.581 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.5539, allocations: 8.188 kB / 0.581 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.555, allocations: 255.6 kB / 0.5812 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.5552, allocations: 56.78 kB / 0.5813 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.5554, allocations: 39.98 kB / 0.5813 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.557, allocations: 1.495 MB / 0.5828 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.557, allocations: 19.92 kB / 0.5828 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/0.5634, allocations: 3.99 MB / 0.5867 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008066/0.5642, allocations: 230.3 kB / 0.5869 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/0.5647, allocations: 39.98 kB / 0.5869 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.566, allocations: 83.92 kB / 0.587 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.5663, allocations: 120.6 kB / 0.5871 GB, free: 2.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.5664, allocations: 71.97 kB / 0.5872 GB, free: 2.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003161/0.5696, allocations: 1.524 MB / 0.5887 GB, free: 1.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5696, allocations: 0 / 0.5887 GB, free: 1.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004399/0.574, allocations: 0.828 MB / 0.5895 GB, free: 196 kB / 494.1 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.0006844/0.5747, allocations: 194.8 kB / 0.5897 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006932/0.5816, allocations: 3.728 MB / 0.5933 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.5816, allocations: 8.062 kB / 0.5933 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.5834, allocations: 1.162 MB / 0.5945 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.5856, allocations: 265.4 kB / 0.5947 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.6029, allocations: 8.549 MB / 0.6031 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/0.6065, allocations: 2.583 MB / 0.6056 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004226/0.6107, allocations: 1.7 MB / 0.6072 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006534/0.6114, allocations: 180.5 kB / 0.6074 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.074e-06/0.6114, allocations: 0 / 0.6074 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.04663/0.658, allocations: 16.64 MB / 0.6237 GB, free: 13.29 MB / 0.5294 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.575165223330259]