Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001025/0.001025, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002579, 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.0009908/0.0009908, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002255, 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.9899/0.9899, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.103, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2851/0.2851, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02962/0.3147, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.071e-05, allocations: 5.578 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003366/0.003397, allocations: 1.81 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.005169, allocations: 1.025 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.005283, allocations: 0 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.005549, allocations: 38.72 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005873, allocations: 93.19 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.006127, allocations: 79.61 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.006333, allocations: 115.6 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.006424, allocations: 8.734 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.006557, allocations: 75.77 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.006645, allocations: 31.89 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.006659, allocations: 8 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.00676, allocations: 43.92 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.006811, allocations: 15.94 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.006848, allocations: 15.94 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.007035, allocations: 107.5 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.007052, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007053, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.007069, allocations: 0 / 294.1 MB, free: 4.758 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.0004809/0.00755, allocations: 328.5 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.007587, allocations: 12.03 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.007626, allocations: 12.92 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.00784, allocations: 146.3 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.007866, allocations: 4.375 kB / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.007889, allocations: 384 / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.008053, allocations: 69.7 kB / 294.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.008074, allocations: 3.938 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.008085, allocations: 0 / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.008093, allocations: 0 / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.008131, allocations: 11.98 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.008456, allocations: 166 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.008596, allocations: 85.3 kB / 295 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.008626, allocations: 16.84 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.008645, allocations: 0 / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.008798, allocations: 70.09 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.0088, allocations: 3.938 kB / 295.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004091/0.009209, allocations: 113.7 kB / 295.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.009256, allocations: 51.41 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.009405, allocations: 180.8 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.009428, allocations: 33.69 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.009469, allocations: 96.12 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.009504, allocations: 23.83 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.009547, allocations: 17.72 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.009654, allocations: 326.8 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.009679, allocations: 15 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.00971, allocations: 21.72 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.009769, allocations: 48.44 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009771, allocations: 0 / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.009873, allocations: 80.38 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.009889, allocations: 4 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.009899, allocations: 4 kB / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009914, allocations: 0 / 296.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01002, allocations: 12 kB / 296.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.01003, allocations: 4 kB / 296.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.01006, allocations: 3.984 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.01007, allocations: 4 kB / 296.1 MB, free: 2.648 MB / 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 8.966e-05/0.01016, allocations: 120.6 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.01017, allocations: 11.92 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/0.01031, allocations: 79.11 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01031, allocations: 4 kB / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01031, allocations: 0 / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01032, allocations: 0 / 296.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.01063, allocations: 303.5 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.01063, allocations: 4 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.01068, allocations: 8 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.01069, allocations: 11.89 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0107, allocations: 0 / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.01071, allocations: 7.984 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01071, allocations: 4.031 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01071, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.01086, allocations: 223 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01088, allocations: 7.938 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.01094, allocations: 0 / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.01098, allocations: 11.97 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01099, allocations: 8 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.01105, allocations: 47.64 kB / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01105, allocations: 0 / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01126, allocations: 23.98 kB / 296.9 MB, free: 1.723 MB / 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: 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.001717/0.01298, allocations: 0.6296 MB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.01312, allocations: 48.72 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.01314, allocations: 8.062 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.01318, allocations: 28.77 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01344, allocations: 40.81 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.01411, allocations: 223.7 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.207e-05/0.01417, allocations: 67.34 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.01423, allocations: 17.27 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.01431, allocations: 71.41 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01431, allocations: 4 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.004683/0.019, allocations: 2.041 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.1744749220088124]