Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001413/0.001413, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.003033, 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.001128/0.001128, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002592, 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/1.181, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.3464/0.3464, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03537/0.3817, 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.16e-05, allocations: 3.297 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003495/0.003527, allocations: 1.805 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005237, allocations: 1.019 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.005343, allocations: 7.094 kB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.005602, allocations: 56.72 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.005918, allocations: 90.36 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.006205, allocations: 83.59 kB / 293.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.006401, allocations: 115.6 kB / 293.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.006507, allocations: 8.75 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.006656, allocations: 75.77 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.072e-05/0.006747, allocations: 31.89 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.006765, allocations: 4 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.006889, allocations: 43.92 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.006946, allocations: 31.86 kB / 294.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.006987, allocations: 15.94 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.007191, allocations: 115.5 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.007207, allocations: 0 / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007208, allocations: 4 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.007221, allocations: 0 / 294.2 MB, free: 4.707 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.0004839/0.007705, allocations: 360.4 kB / 294.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.007744, allocations: 8.031 kB / 294.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.007781, allocations: 12.92 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.00799, allocations: 154.4 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.008008, allocations: 8.375 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.008026, allocations: 384 / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.008159, allocations: 73.69 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.008168, allocations: 3.938 kB / 294.8 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.008175, allocations: 4 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.00818, allocations: 0 / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.008207, allocations: 8 kB / 294.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.008466, allocations: 170 kB / 295 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.008587, allocations: 85.28 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.008615, allocations: 16.78 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.008628, allocations: 0 / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.008739, allocations: 70.14 kB / 295.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.00874, allocations: 3.938 kB / 295.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003561/0.009097, allocations: 117.7 kB / 295.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.009134, allocations: 55.41 kB / 295.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.009284, allocations: 210.3 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.009308, allocations: 25.7 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.009354, allocations: 100.1 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.009386, allocations: 27.83 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.009426, allocations: 17.72 kB / 295.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.009524, allocations: 334.8 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.009545, allocations: 7.016 kB / 296 MB, free: 2.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.009576, allocations: 37.62 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.712e-05/0.009623, allocations: 36.53 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.009625, allocations: 0 / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.67e-05/0.009722, allocations: 80.38 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.009735, allocations: 4 kB / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009741, allocations: 0 / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.009751, allocations: 0 / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.009831, allocations: 19.98 kB / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.009834, allocations: 0 / 296.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.009864, allocations: 4 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.009869, allocations: 4.031 kB / 296.2 MB, free: 2.508 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.548e-05/0.009955, allocations: 132.5 kB / 296.3 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.009972, allocations: 11.94 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.0101, allocations: 75.12 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.0101, allocations: 4 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.0101, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0101, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.0104, allocations: 307.5 kB / 296.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.01041, allocations: 0 / 296.7 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.01045, allocations: 19.97 kB / 296.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.01046, allocations: 11.91 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01046, allocations: 0 / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01047, allocations: 7.984 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01047, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01048, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01061, allocations: 219 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01063, allocations: 7.938 kB / 297 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.01068, allocations: 7.984 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.01071, allocations: 4 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.01073, allocations: 3.984 kB / 297 MB, free: 1.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.538e-05/0.01079, allocations: 83.75 kB / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 0 / 297.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.01095, allocations: 27.98 kB / 297.1 MB, free: 1.535 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.001758/0.01271, allocations: 0.6335 MB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01284, allocations: 44.7 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.01286, allocations: 4 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.0129, allocations: 28.78 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.01311, allocations: 41.59 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.0006247/0.01373, allocations: 264.2 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.01379, allocations: 75.45 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.01384, allocations: 21.27 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.01391, allocations: 67.36 kB / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of SimCode: time 1.442e-06/0.01392, allocations: 0 / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of Templates: time 0.004514/0.01843, allocations: 2.062 MB / 300.3 MB, free: 14.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.235560010187328]