Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0008743/0.0008743, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00198, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006929/0.0006929, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009018/0.001595, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9346/0.9346, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09977/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.2424/0.2424, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02364/0.266, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.484e-05, allocations: 7.438 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002085/0.00211, allocations: 1.695 MB / 294.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.002838, allocations: 0.5569 MB / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.002884, allocations: 0 / 295.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.003062, allocations: 79.58 kB / 295.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.003239, allocations: 111.5 kB / 295.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.003453, allocations: 119.5 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.003581, allocations: 91.75 kB / 295.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.338e-05/0.003655, allocations: 15.92 kB / 295.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.003741, allocations: 63.88 kB / 295.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.003821, allocations: 43.89 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.003833, allocations: 4 kB / 295.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.003906, allocations: 47.86 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.003946, allocations: 19.94 kB / 295.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003969, allocations: 11.94 kB / 295.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.0041, allocations: 95.59 kB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.00411, allocations: 0 / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004111, allocations: 0 / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.00412, allocations: 0 / 295.8 MB, free: 3.211 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.0003478/0.004468, allocations: 325.1 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.004498, allocations: 8.031 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.004529, allocations: 16.92 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.004654, allocations: 146.2 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.00466, allocations: 384 / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.004682, allocations: 12.33 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.004762, allocations: 54.89 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.00477, allocations: 4.188 kB / 296.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004777, allocations: 8.125 kB / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004782, allocations: 0 / 296.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.036e-05/0.004802, allocations: 11.98 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.004986, allocations: 175 kB / 296.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.88e-05/0.005035, allocations: 41.33 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.005047, allocations: 4.859 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.005063, allocations: 4 kB / 296.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.00508, allocations: 34.5 kB / 296.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005082, allocations: 4 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003952/0.005477, allocations: 141.6 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.0055, allocations: 55.39 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.005596, allocations: 185.5 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.005605, allocations: 25.7 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.005635, allocations: 104 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.005657, allocations: 27.75 kB / 297.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.005681, allocations: 21.69 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.005745, allocations: 326.8 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.005756, allocations: 8 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.005767, allocations: 7.938 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.005797, allocations: 31.66 kB / 297.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.005798, allocations: 0 / 297.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.33e-05/0.005852, allocations: 61.61 kB / 297.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.005862, allocations: 4 kB / 297.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.005866, allocations: 4 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.005877, allocations: 0 / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.005935, allocations: 19.98 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005939, allocations: 3.938 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.005955, allocations: 8 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.00596, allocations: 0 / 297.7 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 4.785e-05/0.006007, allocations: 116.7 kB / 297.8 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.006024, allocations: 11.94 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.006117, allocations: 71.44 kB / 297.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.006119, allocations: 0 / 297.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.006121, allocations: 4 kB / 297.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006124, allocations: 4.359 kB / 297.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.006335, allocations: 255.6 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006336, allocations: 4.031 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.006373, allocations: 23.92 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.006384, allocations: 15.91 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.006387, allocations: 3.984 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.006392, allocations: 0 / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006393, allocations: 0 / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.006395, allocations: 3.984 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.592e-05/0.006471, allocations: 168.3 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.006481, allocations: 0 / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.006511, allocations: 7.938 kB / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.006534, allocations: 3.984 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.006538, allocations: 8 kB / 298.3 MB, free: 456 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.762e-05/0.006576, allocations: 52.14 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006576, allocations: 0 / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.006706, allocations: 23.94 kB / 298.4 MB, free: 376 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.001228/0.007934, allocations: 0.6247 MB / 299 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.008009, allocations: 40.7 kB / 299.1 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.008014, allocations: 4 kB / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.008044, allocations: 28.78 kB / 299.1 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008233, allocations: 83.94 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.008614, allocations: 239.6 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.008648, allocations: 67.33 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.381e-05/0.008682, allocations: 12.72 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.00873, allocations: 63.36 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008731, allocations: 0 / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.00269/0.01142, allocations: 1.541 MB / 301.1 MB, free: 13.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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: 2.8159548230469227]