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.0009456/0.0009456, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001412/0.001412, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.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.2852/0.2852, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.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.573e-06/1.573e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.678e-05, allocations: 6.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002277/0.002293, allocations: 1.646 MB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.003277, allocations: 0.5492 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.003341, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.003631, allocations: 111.6 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.003887, allocations: 127.4 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.004096, allocations: 111.7 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.004264, allocations: 91.73 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.004361, allocations: 16 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.00443, allocations: 51.81 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.004528, allocations: 67.91 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.004543, allocations: 4 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.00462, allocations: 43.92 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.004665, allocations: 23.88 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.004694, allocations: 19.91 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004845, allocations: 103.5 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004847, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004848, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004852, allocations: 0 / 381 MB, free: 15.62 MB / 362.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.0004136/0.005266, allocations: 455.8 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.005301, allocations: 12.03 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.005344, allocations: 12.84 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.005489, allocations: 153.2 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005498, allocations: 4.375 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.005525, allocations: 4.375 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005652, allocations: 66.88 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005663, allocations: 4.172 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.005672, allocations: 4.125 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.005679, allocations: 0 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.00571, allocations: 15.98 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.006015, allocations: 299.7 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.006077, allocations: 43.09 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.0061, allocations: 19.55 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.006117, allocations: 8 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.006143, allocations: 33.39 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006144, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.006658, allocations: 181.3 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.006689, allocations: 55.41 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.006846, allocations: 263.1 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.006859, allocations: 33.7 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.006922, allocations: 158.9 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.006944, allocations: 23.75 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.006977, allocations: 31.36 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.007102, allocations: 0.5078 MB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.007123, allocations: 4 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.007142, allocations: 11.98 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.00719, allocations: 31.69 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007191, allocations: 4 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.525e-05/0.007286, allocations: 81.58 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007297, allocations: 4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007303, allocations: 4 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007316, allocations: 4 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.007403, allocations: 19.92 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007408, allocations: 0 / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.007437, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.007444, allocations: 4 kB / 383.5 MB, free: 12.89 MB / 362.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 8.887e-05/0.007533, allocations: 164.5 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.007569, allocations: 23.89 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.007716, allocations: 83.45 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007718, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.007721, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007724, allocations: 0 / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.008022, allocations: 397 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.008024, allocations: 3.938 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.00807, allocations: 15.98 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008072, allocations: 0 / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.008082, allocations: 8 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.008084, allocations: 4.031 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008085, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.008223, allocations: 239.8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008233, allocations: 11.91 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.008246, allocations: 4 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.492e-05/0.008281, allocations: 4 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.008317, allocations: 15.91 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.008324, allocations: 4 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.008417, allocations: 183.1 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008417, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.008693, allocations: 27.94 kB / 384.7 MB, free: 11.64 MB / 362.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.001033/0.009726, allocations: 432.8 kB / 385.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.009839, allocations: 43.61 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.00984, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.009869, allocations: 27.67 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.01009, allocations: 27.5 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.01046, allocations: 265.5 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.01051, allocations: 71.33 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.01055, allocations: 21.02 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.01058, allocations: 12.5 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01058, allocations: 0 / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.003921/0.01451, allocations: 1.528 MB / 387.1 MB, free: 9.344 MB / 362.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 -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.10036030318588]