Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001186/0.001186, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001933/0.003119, 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.00109/0.00109, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.00216, 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.9454/0.9454, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09807/1.043, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.252/0.252, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02713/0.2791, allocations: 13.1 MB / 291.3 MB, free: 7.355 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 292.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.559e-05, allocations: 3.188 kB / 292.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001875/0.001891, allocations: 1.682 MB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.002541, allocations: 0.5375 MB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.002589, allocations: 0 / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.002701, allocations: 31.78 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.002852, allocations: 75.56 kB / 295 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.003026, allocations: 95.58 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.003144, allocations: 59.84 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.883e-05/0.003223, allocations: 19.95 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.003302, allocations: 39.92 kB / 295.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.00337, allocations: 15.92 kB / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003383, allocations: 0 / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.003457, allocations: 43.84 kB / 295.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.003492, allocations: 11.94 kB / 295.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.003518, allocations: 11.94 kB / 295.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.003645, allocations: 67.75 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.003659, allocations: 0 / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00366, allocations: 0 / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.003673, allocations: 0 / 295.3 MB, free: 3.566 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003814/0.004054, allocations: 289.4 kB / 295.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.004085, allocations: 8.031 kB / 295.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.004113, allocations: 4.938 kB / 295.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.004245, allocations: 141.5 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.004255, allocations: 4.375 kB / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.004271, allocations: 384 / 295.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.004373, allocations: 58.95 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004381, allocations: 192 / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00439, allocations: 12.09 kB / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004395, allocations: 3.938 kB / 295.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.004415, allocations: 4 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.004607, allocations: 159.1 kB / 296 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.004736, allocations: 30.55 kB / 296 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.004752, allocations: 16.92 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.004767, allocations: 0 / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.004936, allocations: 34.56 kB / 296.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004937, allocations: 4 kB / 296.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002338/0.00517, allocations: 81.58 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005196, allocations: 51.41 kB / 296.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.005285, allocations: 152.2 kB / 296.4 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.005294, allocations: 29.7 kB / 296.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.005323, allocations: 88.12 kB / 296.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.00534, allocations: 11.86 kB / 296.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.005364, allocations: 25.69 kB / 296.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.005436, allocations: 322.8 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.005444, allocations: 4 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.005453, allocations: 7.938 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.005479, allocations: 20.84 kB / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.00548, allocations: 0 / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.754e-05/0.005528, allocations: 53.62 kB / 296.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005538, allocations: 4 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.005542, allocations: 0 / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.00555, allocations: 0 / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.005594, allocations: 11.98 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.005597, allocations: 4 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.005611, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.005615, allocations: 0 / 296.9 MB, free: 1.801 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 (5): * Single equations (assignments): 5 * 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.847e-05/0.005663, allocations: 120.6 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.005679, allocations: 11.92 kB / 297.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.005756, allocations: 54.16 kB / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005758, allocations: 3.984 kB / 297.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.00576, allocations: 0 / 297.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005762, allocations: 4 kB / 297.1 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.005927, allocations: 215.1 kB / 297.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.005929, allocations: 7.875 kB / 297.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.005956, allocations: 11.98 kB / 297.3 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.005966, allocations: 7.953 kB / 297.4 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005968, allocations: 4 kB / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.005971, allocations: 0 / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005972, allocations: 0 / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005973, allocations: 0 / 297.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.16e-05/0.006044, allocations: 151.4 kB / 297.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.006055, allocations: 4 kB / 297.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.006081, allocations: 0 / 297.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.006114, allocations: 7.984 kB / 297.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.006116, allocations: 0 / 297.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.006145, allocations: 38.06 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006145, allocations: 4 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.006274, allocations: 11.94 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001149/0.007423, allocations: 0.5501 MB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.834e-05/0.007482, allocations: 28.83 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.007485, allocations: 0 / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-05/0.007502, allocations: 20.8 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.007646, allocations: 26.36 kB / 298.2 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.008042, allocations: 171.2 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.008087, allocations: 63.34 kB / 298.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.008116, allocations: 4 kB / 298.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.008181, allocations: 59.36 kB / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.008182, allocations: 0 / 298.5 MB, free: 448 kB / 282.7 MB Notification: Performance of Templates: time 0.002639/0.01082, allocations: 1.27 MB / 299.8 MB, free: 15.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.82434715423733]