Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001119/0.001119, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001713/0.002832, 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.0007094/0.0007094, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008727/0.001582, 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 0.9574/0.9574, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/1.051, allocations: 53.64 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.2935/0.2935, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02201/0.3155, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.345e-05, allocations: 8.203 kB / 292.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002203/0.002217, allocations: 1.688 MB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.002986, allocations: 0.5569 MB / 294.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.003032, allocations: 4 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.003259, allocations: 151.5 kB / 295.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.003463, allocations: 139.4 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.003703, allocations: 111.6 kB / 295.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.003843, allocations: 91.75 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.00392, allocations: 19.97 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004031, allocations: 79.86 kB / 295.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004136, allocations: 67.86 kB / 295.6 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.00415, allocations: 4 kB / 295.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.474e-05/0.004235, allocations: 43.92 kB / 295.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.004281, allocations: 31.86 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.00431, allocations: 11.94 kB / 295.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.004466, allocations: 95.61 kB / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.004479, allocations: 0 / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00448, allocations: 0 / 295.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.004496, allocations: 3.938 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004127/0.004909, allocations: 356.8 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.004937, allocations: 16.03 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.004968, allocations: 8.922 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.005112, allocations: 153.5 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.005121, allocations: 4.375 kB / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.005137, allocations: 384 / 296.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.005233, allocations: 58.94 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.005241, allocations: 192 / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.005249, allocations: 4.125 kB / 296.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.005253, allocations: 7.938 kB / 296.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.00528, allocations: 8 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.005503, allocations: 183.1 kB / 296.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.005558, allocations: 37.45 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.005575, allocations: 12.8 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.005592, allocations: 0 / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005614, allocations: 38.5 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.005615, allocations: 0 / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004413/0.006056, allocations: 149.8 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.006084, allocations: 51.41 kB / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.006232, allocations: 214.9 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.006242, allocations: 25.7 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.006278, allocations: 96.11 kB / 297.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.006306, allocations: 35.72 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.006338, allocations: 17.72 kB / 297.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.006424, allocations: 326.8 kB / 297.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.006439, allocations: 7.984 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.006454, allocations: 8 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.006494, allocations: 31.59 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.006494, allocations: 7.938 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.417e-05/0.006569, allocations: 57.7 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006581, allocations: 12 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.006584, allocations: 0 / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.006593, allocations: 3.984 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.006667, allocations: 15.98 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.00667, allocations: 4 kB / 297.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.006693, allocations: 4 kB / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.006699, allocations: 0 / 297.7 MB, free: 1.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.006754, allocations: 116.6 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.006784, allocations: 19.92 kB / 297.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.006891, allocations: 79.42 kB / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006892, allocations: 0 / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.006894, allocations: 0 / 297.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006896, allocations: 4 kB / 297.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.007155, allocations: 263.5 kB / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007156, allocations: 0 / 298.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.007204, allocations: 15.94 kB / 298.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.007219, allocations: 15.89 kB / 298.2 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.007222, allocations: 4 kB / 298.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.007229, allocations: 4 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.00723, allocations: 4.031 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007231, allocations: 0 / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.702e-05/0.007328, allocations: 160.3 kB / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.007344, allocations: 0 / 298.3 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.007398, allocations: 8 kB / 298.3 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.007421, allocations: 11.92 kB / 298.4 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.007427, allocations: 4 kB / 298.4 MB, free: 340 kB / 282.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.007493, allocations: 76.86 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007493, allocations: 0 / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.007684, allocations: 23.94 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.008904, allocations: 0.6289 MB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.008974, allocations: 32.78 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.008978, allocations: 7.938 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.009, allocations: 24.83 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.009152, allocations: 30.42 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.009546, allocations: 261.3 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.009582, allocations: 75.27 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.404e-05/0.009616, allocations: 20.77 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.009661, allocations: 55.38 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009661, allocations: 4 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Templates: time 0.002802/0.01246, allocations: 1.559 MB / 301.1 MB, free: 13.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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: 2.8837237395346165]