Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0007557/0.0007557, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001917, 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.0007019/0.0007019, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001731, 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.9435/0.9435, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.2385/0.2385, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02224/0.2608, allocations: 13.09 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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.591e-05, allocations: 7.969 kB / 292.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002306/0.002322, allocations: 1.813 MB / 294.7 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004352/0.006674, allocations: 1.018 MB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.006734, allocations: 0 / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.006909, allocations: 59.56 kB / 295.8 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.007108, allocations: 87.48 kB / 295.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.007261, allocations: 87.55 kB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.00741, allocations: 103.6 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.788e-05/0.007478, allocations: 7.984 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.007607, allocations: 83.75 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.00768, allocations: 27.91 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.007695, allocations: 4 kB / 296.2 MB, free: 2.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.007778, allocations: 43.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.00782, allocations: 19.94 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.007849, allocations: 15.94 kB / 296.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.008006, allocations: 103.5 kB / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.008014, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008015, allocations: 0 / 296.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.008022, allocations: 0 / 296.4 MB, free: 2.617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000395/0.008417, allocations: 341 kB / 296.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003044/0.01146, allocations: 12.03 kB / 296.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.01149, allocations: 8.922 kB / 296.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.01165, allocations: 146.6 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.01166, allocations: 8.375 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.01168, allocations: 4.375 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.01178, allocations: 69.64 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01179, allocations: 3.938 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.0118, allocations: 3.984 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.0118, allocations: 0 / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.01182, allocations: 8 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.01202, allocations: 169.9 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.01212, allocations: 85.36 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.01214, allocations: 16.8 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.01215, allocations: 0 / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.619e-05/0.01224, allocations: 78.08 kB / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.01224, allocations: 0 / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002934/0.01254, allocations: 109.6 kB / 297.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.01257, allocations: 55.41 kB / 297.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01268, allocations: 180.8 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.0127, allocations: 25.7 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.01273, allocations: 96.11 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.01276, allocations: 31.73 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.0128, allocations: 25.7 kB / 297.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.01288, allocations: 326.8 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.0129, allocations: 10.83 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.01292, allocations: 25.64 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.01297, allocations: 40.52 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01297, allocations: 0 / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.375e-05/0.01305, allocations: 84.42 kB / 298.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.01306, allocations: 4 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.01307, allocations: 4.031 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.01307, allocations: 4 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.01314, allocations: 15.98 kB / 298.3 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01315, allocations: 4 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.01318, allocations: 0 / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.01318, allocations: 4 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.175e-05/0.01324, allocations: 121.2 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.01326, allocations: 11.94 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.01337, allocations: 75.12 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01337, allocations: 4 kB / 298.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.01337, allocations: 4 kB / 298.6 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01337, allocations: 3.938 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.01361, allocations: 295.4 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01361, allocations: 3.984 kB / 298.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.01364, allocations: 15.94 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.01365, allocations: 11.91 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01366, allocations: 4 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.01366, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01366, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01366, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.01378, allocations: 227 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01379, allocations: 4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.01385, allocations: 4 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.01387, allocations: 3.984 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.01388, allocations: 4.375 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.01394, allocations: 52.7 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01394, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.01414, allocations: 27.92 kB / 299.2 MB, free: 15.55 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00459/0.01873, allocations: 0.6422 MB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.01882, allocations: 52.69 kB / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.01882, allocations: 0 / 299.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.01886, allocations: 33.03 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.01912, allocations: 184.1 kB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.01956, allocations: 231.6 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01961, allocations: 71.33 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.894e-05/0.01965, allocations: 12.97 kB / 300.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.01972, allocations: 67.36 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01972, allocations: 0 / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Templates: time 0.009844/0.02956, allocations: 2.052 MB / 302.5 MB, free: 12.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.7822065092623234]