Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001039/0.001039, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01726/0.01829, 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.001056/0.001056, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002431, 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.137/1.137, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09612/1.233, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.2955/0.2955, allocations: 34.26 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.3194, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.248e-05, allocations: 5.391 kB / 292.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002003/0.002025, allocations: 1.698 MB / 294.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.002694, allocations: 0.553 MB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.002745, allocations: 7.938 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.002937, allocations: 107.6 kB / 295 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.003108, allocations: 123.4 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.003329, allocations: 111.7 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.003461, allocations: 87.75 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.003542, allocations: 19.97 kB / 295.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.003635, allocations: 67.88 kB / 295.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.003727, allocations: 59.88 kB / 295.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.00374, allocations: 4 kB / 295.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.003814, allocations: 47.91 kB / 295.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.003857, allocations: 27.86 kB / 295.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.003885, allocations: 15.94 kB / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.00402, allocations: 91.56 kB / 295.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398e-05/0.004034, allocations: 4 kB / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004035, allocations: 0 / 295.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.004049, allocations: 0 / 295.7 MB, free: 3.254 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.0003854/0.004434, allocations: 345 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.004463, allocations: 12.03 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.004491, allocations: 8.922 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.004623, allocations: 154.3 kB / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.004631, allocations: 384 / 296.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.004649, allocations: 12.31 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.243e-05/0.004742, allocations: 54.95 kB / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.00475, allocations: 192 / 296.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.004757, allocations: 4.125 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.004763, allocations: 3.984 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.004787, allocations: 8 kB / 296.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.004997, allocations: 186.9 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.005051, allocations: 41.31 kB / 296.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.005067, allocations: 8.859 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.005087, allocations: 0 / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.005107, allocations: 42.5 kB / 296.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005108, allocations: 0 / 296.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004184/0.005526, allocations: 145.6 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.005556, allocations: 55.39 kB / 296.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.005669, allocations: 193.6 kB / 296.9 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005679, allocations: 29.7 kB / 296.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.00571, allocations: 104 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.005734, allocations: 27.78 kB / 297.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.005761, allocations: 21.72 kB / 297.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.005834, allocations: 326.8 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.005847, allocations: 7.984 kB / 297.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.005859, allocations: 8 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.005894, allocations: 31.66 kB / 297.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.005896, allocations: 0 / 297.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.124e-05/0.005957, allocations: 61.61 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.005969, allocations: 8 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005972, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.00598, allocations: 0 / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.006049, allocations: 19.92 kB / 297.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006053, allocations: 8 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.00607, allocations: 0 / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.006075, allocations: 0 / 297.6 MB, free: 1.199 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.881e-05/0.006133, allocations: 120.6 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.006152, allocations: 15.92 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.00626, allocations: 75.42 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006262, allocations: 3.938 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.006263, allocations: 0 / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006266, allocations: 3.938 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.006498, allocations: 259.5 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.006501, allocations: 3.984 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.006545, allocations: 20 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.006554, allocations: 7.953 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.006558, allocations: 3.984 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.006562, allocations: 0 / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.006564, allocations: 4 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.006566, allocations: 0 / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.006652, allocations: 164.2 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.006664, allocations: 4 kB / 298.2 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.006697, allocations: 8.031 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.006722, allocations: 11.98 kB / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006726, allocations: 0 / 298.2 MB, free: 456 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.006773, allocations: 61.42 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006773, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.006911, allocations: 27.94 kB / 298.3 MB, free: 364 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.001412/0.008323, allocations: 0.6365 MB / 299 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.008405, allocations: 40.7 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.00841, allocations: 0 / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.008431, allocations: 16.86 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.00861, allocations: 31.92 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.009072, allocations: 251 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.009115, allocations: 71.33 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.741e-05/0.009152, allocations: 16.7 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.009206, allocations: 59.38 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009207, allocations: 0 / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of Templates: time 0.003297/0.0125, allocations: 1.548 MB / 301 MB, free: 14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.0394382560625672]