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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008285/0.0008285, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001126/0.001954, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001702/0.003043, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9098/0.9098, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2056/1.115, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] 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.1233/0.1233, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02022/0.1435, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.383e-06/1.383e-06, allocations: 0 / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.097e-06/1.048e-05, allocations: 2.312 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008439/0.008449, allocations: 11.7 MB / 297.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01306, allocations: 3.923 MB / 301.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.01355, allocations: 67.75 kB / 301.5 MB, free: 8.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01484, allocations: 1.377 MB / 302.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.01668, allocations: 1.847 MB / 304.8 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.01718, allocations: 422.9 kB / 305.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.02004, allocations: 3.838 MB / 309 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.02147, allocations: 1.904 MB / 310.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.02287, allocations: 1.932 MB / 312.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.02424, allocations: 1.82 MB / 314.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.02447, allocations: 240 kB / 314.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.0257, allocations: 0.8191 MB / 315.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008739/0.02657, allocations: 1.531 MB / 317.3 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007486/0.02732, allocations: 0.8292 MB / 318.1 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.03031, allocations: 3.746 MB / 321.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.03032, allocations: 0 / 321.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03032, allocations: 0 / 321.8 MB, free: 4.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.03042, allocations: 4 kB / 321.8 MB, free: 4.258 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.1521/0.1825, allocations: 4.53 MB / 326.4 MB, free: 29.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1826, allocations: 8.688 kB / 326.4 MB, free: 29.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006612/0.1892, allocations: 1.466 MB / 327.8 MB, free: 29.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.1911, allocations: 1.396 MB / 329.2 MB, free: 29.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.1912, allocations: 193.8 kB / 329.4 MB, free: 29.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.1915, allocations: 241 kB / 329.7 MB, free: 29.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.1963, allocations: 4.364 MB / 334 MB, free: 27.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/0.1963, allocations: 32.3 kB / 334.1 MB, free: 27.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.1966, allocations: 122.7 kB / 334.2 MB, free: 27.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001806/0.1984, allocations: 2.019 MB / 336.2 MB, free: 27.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.2022, allocations: 2.488 MB / 338.7 MB, free: 27.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.219, allocations: 23.81 MB / 362.5 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2209, allocations: 1.165 MB / 363.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.2211, allocations: 234.2 kB / 363.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.2215, allocations: 406.7 kB / 364.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2215, allocations: 47.88 kB / 364.3 MB, free: 1.863 MB / 314.7 MB Notification: Performance of pre-optimization done (n=185): time 3.948e-06/0.2215, allocations: 0.5938 kB / 364.3 MB, free: 1.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=191): time 0.008319/0.2298, allocations: 4.683 MB / 369 MB, free: 13.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.2299, allocations: 64.72 kB / 369.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.2317, allocations: 2.22 MB / 371.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.2318, allocations: 45.7 kB / 371.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.2331, allocations: 2.694 MB / 374 MB, free: 8.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.2337, allocations: 0.7129 MB / 374.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/0.2348, allocations: 0.9064 MB / 375.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2349, allocations: 361.8 kB / 376 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.2362, allocations: 0.6 MB / 376.6 MB, free: 5.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.2383, allocations: 3.336 MB / 380 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.2414, allocations: 4.685 MB / 384.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.381e-05/0.2415, allocations: 31.28 kB / 384.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.003211/0.2447, allocations: 3.181 MB / 387.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.2447, allocations: 51.98 kB / 387.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-05/0.2448, allocations: 112 kB / 388 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.245, allocations: 156.8 kB / 388.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.2468, allocations: 1.178 MB / 389.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/0.2476, allocations: 1.492 MB / 390.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.249, allocations: 180 kB / 391 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.2492, allocations: 252 kB / 391.3 MB, free: 3.938 MB / 346.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.0008693/0.2501, allocations: 0.5046 MB / 391.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.2503, allocations: 171.8 kB / 391.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/0.2513, allocations: 1.036 MB / 393 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.2513, allocations: 16 kB / 393 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2513, allocations: 0 / 393 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.2513, allocations: 7.969 kB / 393 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.2556, allocations: 3.975 MB / 397 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.2556, allocations: 24.06 kB / 397 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.2562, allocations: 255.6 kB / 397.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.2564, allocations: 230.2 kB / 397.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.365e-05/0.2565, allocations: 44.91 kB / 397.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.2566, allocations: 39.98 kB / 397.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007762/0.2574, allocations: 1.413 MB / 399 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.2574, allocations: 15.94 kB / 399 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2587, allocations: 1.524 MB / 400.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.2588, allocations: 35.61 kB / 400.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.2592, allocations: 36.19 kB / 400.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.2594, allocations: 128.5 kB / 400.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.2594, allocations: 55.98 kB / 400.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006074/0.26, allocations: 0.7716 MB / 401.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.26, allocations: 0 / 401.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002333/0.2624, allocations: 0.8631 MB / 402.4 MB, free: 8.25 MB / 362.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.0003449/0.2627, allocations: 191.8 kB / 402.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.2649, allocations: 2.09 MB / 404.7 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001027/0.265, allocations: 71.88 kB / 404.7 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.2663, allocations: 1.076 MB / 405.8 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.2676, allocations: 1.551 MB / 407.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/0.2761, allocations: 7.135 MB / 414.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/0.277, allocations: 1.125 MB / 415.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008307/0.2779, allocations: 382.3 kB / 416 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.2783, allocations: 385.3 kB / 416.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2783, allocations: 0 / 416.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of Templates: time 0.03685/0.3151, allocations: 17.68 MB / 434 MB, free: 8.332 MB / 394.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2279967283830047]