Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001163/0.001163, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00165/0.002813, 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.0009358/0.0009358, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002152, 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.9494/0.9494, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08414/1.033, allocations: 52.49 MB / 238.4 MB, free: 4.363 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.1269/0.1269, allocations: 32.8 MB / 272 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1438/0.2707, allocations: 12.54 MB / 284.5 MB, free: 11.89 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 285.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.594e-05, allocations: 2.875 kB / 285.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00753/0.007546, allocations: 8.322 MB / 294.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.01314, allocations: 3.496 MB / 297.7 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/0.01387, allocations: 55.69 kB / 297.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.01524, allocations: 1.382 MB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.0167, allocations: 0.9564 MB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.01733, allocations: 0.5145 MB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.0187, allocations: 1.883 MB / 302.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.01974, allocations: 1.374 MB / 303.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008938/0.02063, allocations: 1.139 MB / 305 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.02141, allocations: 0.9314 MB / 305.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.02158, allocations: 144 kB / 306 MB, free: 8.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007109/0.02229, allocations: 0.6006 MB / 306.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004412/0.02273, allocations: 0.6976 MB / 307.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.02305, allocations: 434.9 kB / 307.8 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.02429, allocations: 1.6 MB / 309.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.0243, allocations: 0 / 309.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0243, allocations: 0 / 309.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.02432, allocations: 0 / 309.4 MB, free: 5.605 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.001825/0.02614, allocations: 2.152 MB / 311.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.02618, allocations: 15.84 kB / 311.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.02672, allocations: 345.8 kB / 311.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.02746, allocations: 0.8156 MB / 312.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.9e-05/0.02751, allocations: 94.83 kB / 312.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02762, allocations: 120.3 kB / 312.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.02929, allocations: 1.614 MB / 314.5 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.02932, allocations: 15.83 kB / 314.5 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.02941, allocations: 55.97 kB / 314.6 MB, free: 92 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003219/0.02973, allocations: 390.1 kB / 315 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.03085, allocations: 0.7219 MB / 315.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.03604, allocations: 8.296 MB / 324 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.03758, allocations: 0.89 MB / 324.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.03774, allocations: 159.1 kB / 325 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/0.03942, allocations: 1.565 MB / 326.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.03945, allocations: 43.06 kB / 326.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 1.823e-06/0.03945, allocations: 0 / 326.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.006168/0.04562, allocations: 2.354 MB / 329 MB, free: 1.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.04565, allocations: 63.84 kB / 329 MB, free: 1.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.04652, allocations: 1.018 MB / 330.1 MB, free: 200 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.04655, allocations: 33.7 kB / 330.1 MB, free: 160 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.04703, allocations: 0.8937 MB / 331 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.04716, allocations: 222.2 kB / 331.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.04746, allocations: 311.2 kB / 331.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.04757, allocations: 365.8 kB / 331.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.04788, allocations: 182.8 kB / 332 MB, free: 14.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/0.04865, allocations: 1.057 MB / 333.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.04987, allocations: 1.453 MB / 334.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.04988, allocations: 12 kB / 334.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001301/0.05118, allocations: 1.059 MB / 335.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.05121, allocations: 20.94 kB / 335.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.05124, allocations: 28 kB / 335.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.05142, allocations: 80.44 kB / 335.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.05233, allocations: 415.3 kB / 336.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.05332, allocations: 1.583 MB / 337.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.05399, allocations: 56 kB / 337.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.05407, allocations: 80.03 kB / 337.9 MB, free: 7.355 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (199): * Single equations (assignments): 198 * Array equations: 0 * 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.0003345/0.0544, allocations: 254.5 kB / 338.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.05451, allocations: 75.92 kB / 338.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.05499, allocations: 365.5 kB / 338.5 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.05499, allocations: 4.094 kB / 338.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.055, allocations: 4 kB / 338.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.055, allocations: 7.984 kB / 338.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.05668, allocations: 1.44 MB / 340 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.05668, allocations: 4 kB / 340 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.05697, allocations: 107.8 kB / 340.1 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.0571, allocations: 111.2 kB / 340.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.05722, allocations: 47.66 kB / 340.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.05725, allocations: 20.28 kB / 340.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.05828, allocations: 1.63 MB / 341.9 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.05828, allocations: 4 kB / 341.9 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.0589, allocations: 0.6373 MB / 342.6 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.05899, allocations: 16 kB / 342.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.05927, allocations: 16 kB / 342.6 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.05933, allocations: 55.73 kB / 342.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.05935, allocations: 16 kB / 342.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.05975, allocations: 406.6 kB / 343.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05975, allocations: 0 / 343.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001109/0.06086, allocations: 363.9 kB / 343.4 MB, free: 1.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.0611, allocations: 141.2 kB / 343.6 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.06194, allocations: 0.7509 MB / 344.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.043e-05/0.06199, allocations: 28.12 kB / 344.3 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.06232, allocations: 331.8 kB / 344.7 MB, free: 260 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.06345, allocations: 1.321 MB / 346 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.06786, allocations: 2.554 MB / 348.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.06824, allocations: 412.2 kB / 348.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000373/0.06862, allocations: 157.7 kB / 349.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.06896, allocations: 225.3 kB / 349.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.06896, allocations: 0 / 349.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Templates: time 0.01871/0.08767, allocations: 10.81 MB / 360.1 MB, free: 0.6289 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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.039612779393792]