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.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.001271/0.001271, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002889, 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.00107/0.00107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002353, 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.114/1.114, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.233, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.2738/0.2738, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02836/0.3021, allocations: 12.53 MB / 289.3 MB, free: 8.699 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.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.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.724e-06/1.724e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.597e-05, allocations: 3.438 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007061/0.007077, allocations: 8.315 MB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004839/0.01192, allocations: 3.518 MB / 302.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.01235, allocations: 51.75 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.01369, allocations: 1.37 MB / 303.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.01488, allocations: 0.933 MB / 304.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.01546, allocations: 0.5222 MB / 305.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.01688, allocations: 1.99 MB / 307.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.01793, allocations: 1.362 MB / 308.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009443/0.01887, allocations: 1.147 MB / 309.8 MB, free: 5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007768/0.01965, allocations: 0.9353 MB / 310.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.01977, allocations: 136 kB / 310.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.0204, allocations: 0.5772 MB / 311.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.02099, allocations: 0.6898 MB / 312.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.02133, allocations: 434.9 kB / 312.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.02262, allocations: 1.585 MB / 314.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.02263, allocations: 0 / 314.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02263, allocations: 0 / 314.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.02266, allocations: 4 kB / 314.2 MB, free: 0.6367 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.002046/0.02471, allocations: 2.138 MB / 316.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.02474, allocations: 8.031 kB / 316.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.02532, allocations: 341.8 kB / 316.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/0.02617, allocations: 0.804 MB / 317.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.02622, allocations: 90.83 kB / 317.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.02635, allocations: 124.3 kB / 317.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.02836, allocations: 1.622 MB / 319.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.0284, allocations: 15.89 kB / 319.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.02847, allocations: 51.97 kB / 319.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/0.02881, allocations: 414.1 kB / 319.8 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.03006, allocations: 0.7297 MB / 320.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006388/0.03645, allocations: 8.315 MB / 328.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.03808, allocations: 0.9115 MB / 329.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.03824, allocations: 147.7 kB / 329.9 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.03987, allocations: 1.558 MB / 331.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.0399, allocations: 43 kB / 331.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.843e-06/0.0399, allocations: 0 / 331.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004654/0.04455, allocations: 2.323 MB / 333.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.04458, allocations: 55.91 kB / 333.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.04524, allocations: 1.013 MB / 334.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.04527, allocations: 37.7 kB / 334.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.04566, allocations: 0.8898 MB / 335.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.04578, allocations: 234.1 kB / 336 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.04601, allocations: 311.2 kB / 336.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.04612, allocations: 361.8 kB / 336.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.04636, allocations: 178.8 kB / 336.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.04703, allocations: 1.061 MB / 337.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.04792, allocations: 1.359 MB / 339.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.04793, allocations: 12 kB / 339.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001183/0.04911, allocations: 1.055 MB / 340.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.04914, allocations: 20.25 kB / 340.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.04916, allocations: 32 kB / 340.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.0493, allocations: 75.66 kB / 340.4 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006781/0.04998, allocations: 411.3 kB / 340.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000921/0.0509, allocations: 1.584 MB / 342.4 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.05133, allocations: 71.94 kB / 342.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.0514, allocations: 72 kB / 342.6 MB, free: 2.508 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.0002932/0.05169, allocations: 258.5 kB / 342.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.05178, allocations: 71.92 kB / 342.9 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.0519, allocations: 126.8 kB / 343 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.05191, allocations: 4 kB / 343 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.05192, allocations: 4 kB / 343 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.05193, allocations: 7.922 kB / 343 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.05336, allocations: 1.436 MB / 344.5 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.05337, allocations: 4 kB / 344.5 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.05359, allocations: 103.9 kB / 344.6 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.05369, allocations: 111.3 kB / 344.7 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.0538, allocations: 52.08 kB / 344.7 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.05382, allocations: 19.94 kB / 344.8 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.05483, allocations: 1.635 MB / 346.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.05483, allocations: 11.94 kB / 346.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.05559, allocations: 0.6289 MB / 347 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.05566, allocations: 16 kB / 347 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.05584, allocations: 19.94 kB / 347.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.05589, allocations: 47.92 kB / 347.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.05591, allocations: 23.86 kB / 347.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003006/0.05622, allocations: 398.2 kB / 347.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05622, allocations: 0 / 347.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007994/0.05701, allocations: 360 kB / 347.9 MB, free: 12.92 MB / 346.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.0002403/0.05726, allocations: 116.3 kB / 348 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000725/0.05798, allocations: 0.7305 MB / 348.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.125e-05/0.05802, allocations: 27.84 kB / 348.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.05825, allocations: 293.5 kB / 349 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.05882, allocations: 269.3 kB / 349.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.06263, allocations: 2.554 MB / 351.8 MB, free: 8.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.06298, allocations: 412.2 kB / 352.3 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.0633, allocations: 153.8 kB / 352.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.0636, allocations: 233.3 kB / 352.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.833e-06/0.0636, allocations: 0 / 352.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of Templates: time 0.01771/0.08131, allocations: 11.71 MB / 364.3 MB, free: 12.51 MB / 362.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4393288334831595]