Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001189/0.001189, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.003053, 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.001099/0.001099, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001744/0.002844, 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 1.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09082/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.2467/0.2467, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02345/0.2702, 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.CombiTimeTable.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.407e-05, allocations: 3.719 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002334/0.002348, allocations: 1.823 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003677, allocations: 1.018 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.003743, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.003927, allocations: 59.58 kB / 295.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.004153, allocations: 91.47 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.004321, allocations: 87.55 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004475, allocations: 107.6 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.004542, allocations: 4 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.004666, allocations: 83.75 kB / 296.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.004738, allocations: 27.91 kB / 296.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004753, allocations: 4 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.004842, allocations: 51.86 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.004887, allocations: 19.92 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.004921, allocations: 19.88 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005089, allocations: 103.6 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.0051, allocations: 0 / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.0051, allocations: 0 / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.005109, allocations: 0 / 296.4 MB, free: 2.613 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.0004345/0.005543, allocations: 352.9 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.005573, allocations: 8.031 kB / 296.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.005608, allocations: 12.92 kB / 296.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.00577, allocations: 158.3 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.005784, allocations: 384 / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.005803, allocations: 4.375 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.005909, allocations: 61.77 kB / 297 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.005918, allocations: 3.938 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.005925, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005931, allocations: 4 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.005955, allocations: 7.984 kB / 297 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.006154, allocations: 177.9 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/0.006243, allocations: 85.23 kB / 297.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.006264, allocations: 12.86 kB / 297.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.006275, allocations: 4 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.065e-05/0.006366, allocations: 62.16 kB / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.006367, allocations: 0 / 297.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002965/0.006663, allocations: 117.6 kB / 297.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.006689, allocations: 51.41 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.00682, allocations: 197.6 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.006836, allocations: 29.7 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.006875, allocations: 96.09 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.006904, allocations: 35.73 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.00694, allocations: 25.7 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.007021, allocations: 322.8 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.00704, allocations: 14.75 kB / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.814e-05/0.007068, allocations: 25.7 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.007117, allocations: 40.5 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007119, allocations: 4 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.534e-05/0.007204, allocations: 76.44 kB / 298.4 MB, free: 492 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007216, allocations: 4 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.007219, allocations: 7.969 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.00723, allocations: 0 / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.007299, allocations: 19.98 kB / 298.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.007302, allocations: 0 / 298.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.007335, allocations: 11.94 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.00734, allocations: 0 / 298.4 MB, free: 448 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.525e-05/0.007405, allocations: 119.6 kB / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.007423, allocations: 15.92 kB / 298.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.00753, allocations: 79.06 kB / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007532, allocations: 0 / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007534, allocations: 8 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007537, allocations: 0 / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.007782, allocations: 295.4 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007783, allocations: 0 / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.007816, allocations: 11.98 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.007832, allocations: 15.89 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.007834, allocations: 4 kB / 298.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.007841, allocations: 4 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007843, allocations: 0 / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.007845, allocations: 4 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007956, allocations: 219 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.007972, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.008032, allocations: 8 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.008056, allocations: 7.984 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.008066, allocations: 384 / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.008129, allocations: 65.41 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008129, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.008332, allocations: 31.92 kB / 299.3 MB, free: 15.5 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.001521/0.009852, allocations: 0.6427 MB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.909e-05/0.009941, allocations: 44.75 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.009948, allocations: 4 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.009993, allocations: 32.94 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.01026, allocations: 180.4 kB / 300.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.01071, allocations: 242.5 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.01075, allocations: 67.34 kB / 300.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.01079, allocations: 16.91 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.01086, allocations: 71.36 kB / 300.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01087, allocations: 96 / 300.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Templates: time 0.003817/0.01468, allocations: 2.055 MB / 302.6 MB, free: 12.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.942137115634978]