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.0007549/0.0007549, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001667, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008894/0.0008894, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008729/0.001762, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09125/1.147, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2626/0.2626, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02546/0.2881, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.7 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.323e-06/1.323e-06, allocations: 0 / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.98e-05, allocations: 3.859 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009845/0.009864, allocations: 11.65 MB / 304.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007579/0.01744, allocations: 3.948 MB / 308.2 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.01885, allocations: 71.75 kB / 308.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.02087, allocations: 1.37 MB / 309.7 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.02433, allocations: 1.816 MB / 311.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.02517, allocations: 423 kB / 311.9 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.02932, allocations: 3.908 MB / 315.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.03174, allocations: 1.911 MB / 317.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.03425, allocations: 1.913 MB / 319.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.03649, allocations: 1.82 MB / 321.5 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.03689, allocations: 240 kB / 321.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.03834, allocations: 0.7917 MB / 322.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.03955, allocations: 1.5 MB / 324 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.04068, allocations: 0.8135 MB / 324.8 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.04469, allocations: 3.68 MB / 328.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.0447, allocations: 0 / 328.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.04471, allocations: 3.984 kB / 328.5 MB, free: 2.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.508e-05/0.04479, allocations: 0 / 328.5 MB, free: 2.285 MB / 314.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.00479/0.04958, allocations: 4.485 MB / 333 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.04963, allocations: 8.031 kB / 333 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.05312, allocations: 1.465 MB / 334.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.05488, allocations: 1.398 MB / 335.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.64e-05/0.05498, allocations: 185 kB / 336 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.05526, allocations: 244.2 kB / 336.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.0598, allocations: 4.357 MB / 340.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/0.05985, allocations: 35.64 kB / 340.6 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.06006, allocations: 119.8 kB / 340.8 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00179/0.06185, allocations: 2.155 MB / 342.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/0.06582, allocations: 2.481 MB / 345.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.08697, allocations: 23.81 MB / 369.2 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.08917, allocations: 1.175 MB / 370.4 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.08951, allocations: 247 kB / 370.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.08996, allocations: 396.6 kB / 371 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.08999, allocations: 47.88 kB / 371.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 5.951e-06/0.09, allocations: 0 / 371.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=191): time 0.008459/0.09846, allocations: 4.24 MB / 375.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.09849, allocations: 76.66 kB / 375.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.1001, allocations: 2.212 MB / 377.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.1002, allocations: 49.69 kB / 377.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.1012, allocations: 2.683 MB / 380.3 MB, free: 12.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/0.1015, allocations: 0.7245 MB / 381 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006569/0.1022, allocations: 0.9143 MB / 381.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1023, allocations: 357.8 kB / 382.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000807/0.1031, allocations: 0.5984 MB / 382.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.1051, allocations: 3.329 MB / 386.2 MB, free: 5.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.1081, allocations: 4.362 MB / 390.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/0.1081, allocations: 28 kB / 390.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.003352/0.1115, allocations: 3.187 MB / 393.8 MB, free: 12.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.1115, allocations: 48 kB / 393.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-05/0.1116, allocations: 100 kB / 393.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.1118, allocations: 161.5 kB / 394.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.1136, allocations: 1.178 MB / 395.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.1146, allocations: 1.472 MB / 396.8 MB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.1163, allocations: 180 kB / 396.9 MB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.1165, allocations: 264 kB / 397.2 MB, free: 9.078 MB / 394.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.001149/0.1177, allocations: 0.4929 MB / 397.7 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.1179, allocations: 171.8 kB / 397.8 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.119, allocations: 1.043 MB / 398.9 MB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.1191, allocations: 20 kB / 398.9 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1191, allocations: 4 kB / 398.9 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1191, allocations: 7.922 kB / 398.9 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/0.1239, allocations: 3.982 MB / 402.9 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.1239, allocations: 12 kB / 402.9 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.1245, allocations: 251.6 kB / 403.2 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.1248, allocations: 230.2 kB / 403.4 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.1249, allocations: 44.83 kB / 403.4 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.125, allocations: 43.92 kB / 403.5 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008465/0.1258, allocations: 1.41 MB / 404.9 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.1258, allocations: 11.94 kB / 404.9 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.1272, allocations: 1.52 MB / 406.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.1274, allocations: 35.98 kB / 406.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.1278, allocations: 28 kB / 406.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.1279, allocations: 120.6 kB / 406.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.128, allocations: 59.91 kB / 406.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000747/0.1287, allocations: 0.775 MB / 407.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1287, allocations: 0 / 407.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002532/0.1312, allocations: 0.8397 MB / 408.3 MB, free: 13.43 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.000298/0.1315, allocations: 173.4 kB / 408.4 MB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.1337, allocations: 2.009 MB / 410.4 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000106/0.1338, allocations: 71.92 kB / 410.5 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.1343, allocations: 0.5078 MB / 411 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.1352, allocations: 449.3 kB / 411.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/0.1443, allocations: 7.443 MB / 418.9 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/0.1452, allocations: 1.125 MB / 420 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009508/0.1462, allocations: 379.5 kB / 420.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/0.1467, allocations: 405.3 kB / 420.8 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.1467, allocations: 0 / 420.8 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of Templates: time 0.1762/0.3229, allocations: 19.11 MB / 439.9 MB, free: 123.8 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] 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","",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.720818364061415]