Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 165.8 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9198/0.9198, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.626e-05, allocations: 6.312 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008661/0.008687, allocations: 11.56 MB / 337.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.01485, allocations: 3.902 MB / 341.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.01582, allocations: 71.75 kB / 341.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.01739, allocations: 1.381 MB / 342.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.0198, allocations: 1.812 MB / 344.7 MB, free: 4.312 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.02043, allocations: 462.9 kB / 345.1 MB, free: 3.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.02345, allocations: 3.966 MB / 349.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.02563, allocations: 2.122 MB / 351.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.02762, allocations: 1.832 MB / 353.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.0297, allocations: 1.835 MB / 354.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005774/0.03028, allocations: 240 kB / 355.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.03149, allocations: 0.7918 MB / 355.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000988/0.03248, allocations: 1.675 MB / 357.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.03345, allocations: 0.9964 MB / 358.6 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.03673, allocations: 3.918 MB / 362.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.03673, allocations: 0 / 362.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03673, allocations: 7.938 kB / 362.5 MB, free: 2.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.329e-05/0.03682, allocations: 0 / 362.5 MB, free: 2.395 MB / 330.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.003685/0.0405, allocations: 3.76 MB / 366.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.04054, allocations: 12.03 kB / 366.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.04441, allocations: 1.386 MB / 367.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.04655, allocations: 1.402 MB / 369.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.04667, allocations: 189 kB / 369.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.04706, allocations: 240.2 kB / 369.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006258/0.05332, allocations: 4.371 MB / 373.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.05339, allocations: 31.75 kB / 373.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.05368, allocations: 115.8 kB / 374 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/0.05621, allocations: 2.14 MB / 376.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006053/0.06226, allocations: 2.481 MB / 378.6 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.08938, allocations: 23.8 MB / 402.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.09247, allocations: 1.186 MB / 403.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.09292, allocations: 246.6 kB / 403.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.09348, allocations: 400.5 kB / 404.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.09351, allocations: 47.88 kB / 404.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 5.04e-06/0.09352, allocations: 0 / 404.3 MB, free: 7.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.01089/0.1044, allocations: 4.302 MB / 408.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1045, allocations: 72.7 kB / 408.7 MB, free: 2.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.1066, allocations: 2.204 MB / 410.9 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/0.1066, allocations: 53.7 kB / 410.9 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.108, allocations: 2.691 MB / 413.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.1085, allocations: 0.7206 MB / 414.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009309/0.1094, allocations: 0.9026 MB / 415.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1095, allocations: 361.8 kB / 415.6 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.1107, allocations: 0.5945 MB / 416.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.1133, allocations: 3.341 MB / 419.5 MB, free: 6.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.1174, allocations: 4.37 MB / 423.9 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.543e-05/0.1175, allocations: 31.94 kB / 423.9 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004844/0.1223, allocations: 3.179 MB / 427.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/0.1224, allocations: 48 kB / 427.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.1225, allocations: 100 kB / 427.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.1228, allocations: 164.8 kB / 427.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.1254, allocations: 1.104 MB / 428.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.1267, allocations: 1.477 MB / 430 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.1288, allocations: 180 kB / 430.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.1292, allocations: 256 kB / 430.4 MB, free: 10.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * 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 (601): * Single equations (assignments): 594 * 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.001506/0.1307, allocations: 0.5123 MB / 430.9 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.131, allocations: 171.8 kB / 431.1 MB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.1325, allocations: 1.032 MB / 432.1 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.1325, allocations: 23.98 kB / 432.2 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1325, allocations: 0 / 432.2 MB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.1325, allocations: 11.97 kB / 432.2 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.139, allocations: 3.971 MB / 436.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.139, allocations: 12.03 kB / 436.2 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/0.1396, allocations: 239.6 kB / 436.4 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.1397, allocations: 48.72 kB / 436.4 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.1398, allocations: 48.02 kB / 436.5 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000966/0.1408, allocations: 1.417 MB / 437.9 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.1408, allocations: 11.94 kB / 437.9 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.1424, allocations: 1.516 MB / 439.4 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.1428, allocations: 222.3 kB / 439.6 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.1429, allocations: 35.98 kB / 439.7 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.1434, allocations: 35.94 kB / 439.7 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.1435, allocations: 120.6 kB / 439.8 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.959e-05/0.1436, allocations: 55.98 kB / 439.9 MB, free: 12 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007761/0.1444, allocations: 0.7711 MB / 440.7 MB, free: 15.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1444, allocations: 0 / 440.7 MB, free: 15.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002612/0.147, allocations: 0.8358 MB / 441.5 MB, free: 14.39 MB / 426.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.0003256/0.1473, allocations: 175.9 kB / 441.7 MB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.1497, allocations: 2.01 MB / 443.7 MB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.692e-05/0.1498, allocations: 63.94 kB / 443.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.1503, allocations: 0.5117 MB / 444.3 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.1512, allocations: 274.1 kB / 444.5 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008989/0.1602, allocations: 7.254 MB / 451.8 MB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.1612, allocations: 1.129 MB / 452.9 MB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001043/0.1623, allocations: 383.5 kB / 453.3 MB, free: 2.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.1628, allocations: 409.2 kB / 453.7 MB, free: 1.945 MB / 426.7 MB Notification: Performance of SimCode: time 2.134e-06/0.1628, allocations: 0 / 453.7 MB, free: 1.945 MB / 426.7 MB Notification: Performance of Templates: time 0.1594/0.3222, allocations: 18.8 MB / 472.5 MB, free: 108.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.720468242187053]