Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0008404/0.0008404, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001951/0.002791, 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.001076/0.001076, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002703, 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 1.069/1.069, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1119/1.181, allocations: 53.66 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.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.2831/0.2831, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02701/0.3101, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.502e-05, allocations: 3.344 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002378/0.002393, allocations: 1.806 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.00386, allocations: 1.022 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.003938, allocations: 0 / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.004207, allocations: 95.8 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.004438, allocations: 119.4 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.004584, allocations: 75.61 kB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.004779, allocations: 123.6 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004885, allocations: 8.75 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005033, allocations: 95.73 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.005139, allocations: 47.88 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005158, allocations: 4 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.005243, allocations: 43.92 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.005298, allocations: 23.92 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.005339, allocations: 19.88 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.005516, allocations: 103.6 kB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.005533, allocations: 0 / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005534, allocations: 0 / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.005554, allocations: 0 / 294.3 MB, free: 4.625 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.0005436/0.006098, allocations: 344.5 kB / 294.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006137, allocations: 12.03 kB / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.006174, allocations: 12.86 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.00636, allocations: 154 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.006378, allocations: 4.375 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.006399, allocations: 384 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006521, allocations: 69.69 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.006533, allocations: 7.938 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.00654, allocations: 0 / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.006547, allocations: 0 / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.00658, allocations: 7.984 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.006837, allocations: 170 kB / 295 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.00694, allocations: 85.28 kB / 295.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.006962, allocations: 16.92 kB / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.006975, allocations: 0 / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.007096, allocations: 66.09 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.007097, allocations: 0 / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003583/0.007456, allocations: 113.7 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.007497, allocations: 51.41 kB / 295.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007635, allocations: 197 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.007651, allocations: 25.7 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.007692, allocations: 96.11 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.007721, allocations: 27.78 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.007757, allocations: 25.7 kB / 295.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.007855, allocations: 326.8 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.007869, allocations: 7.016 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.007896, allocations: 29.7 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.007939, allocations: 40.45 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.00794, allocations: 4 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.885e-05/0.008019, allocations: 72.38 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.008033, allocations: 8 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008039, allocations: 0 / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.00805, allocations: 0 / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.688e-05/0.008127, allocations: 19.98 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.00813, allocations: 0 / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.008157, allocations: 8 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.008162, allocations: 0 / 296.2 MB, free: 2.48 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 6.872e-05/0.008231, allocations: 124.6 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.008243, allocations: 15.97 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.008351, allocations: 83.05 kB / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008353, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008355, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.008359, allocations: 0 / 296.4 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.008588, allocations: 299.5 kB / 296.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00859, allocations: 0 / 296.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.008617, allocations: 12 kB / 296.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.008628, allocations: 11.89 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00863, allocations: 0 / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.008639, allocations: 12.03 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.008639, allocations: 0 / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.008644, allocations: 3.984 kB / 296.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.008755, allocations: 219 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.008772, allocations: 4 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.008809, allocations: 4 kB / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.008839, allocations: 7.984 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.008851, allocations: 4 kB / 297 MB, free: 1.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.008899, allocations: 57.61 kB / 297.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.008899, allocations: 0 / 297.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.009044, allocations: 31.92 kB / 297.1 MB, free: 1.543 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.001455/0.0105, allocations: 0.6331 MB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.0106, allocations: 48.7 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.01061, allocations: 8 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.01065, allocations: 24.78 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01085, allocations: 53.31 kB / 297.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.01139, allocations: 230.4 kB / 298.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.01145, allocations: 79.27 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.443e-05/0.01149, allocations: 17.39 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.01157, allocations: 67.38 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.01157, allocations: 0 / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of Templates: time 0.003933/0.0155, allocations: 2.052 MB / 300.3 MB, free: 14.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.169880338013172]