Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007357/0.0007357, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001766, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006211/0.0006211, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008678/0.001489, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9483/0.9483, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2221/1.17, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1448/0.1448, allocations: 32.81 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07172/0.2165, allocations: 12.53 MB / 284.5 MB, free: 9.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.943e-05, allocations: 5.266 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002323/0.002353, allocations: 1.792 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.004193, allocations: 1.629 MB / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.844e-05/0.004282, allocations: 0 / 289.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.00451, allocations: 47.58 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.004682, allocations: 63.62 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.004914, allocations: 111.5 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.005085, allocations: 107.7 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.00517, allocations: 4.234 kB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.005284, allocations: 87.7 kB / 289.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.675e-05/0.005381, allocations: 31.89 kB / 289.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.0054, allocations: 8 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.00553, allocations: 59.91 kB / 289.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.005575, allocations: 15.94 kB / 289.9 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.005606, allocations: 15.94 kB / 289.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.005786, allocations: 115.5 kB / 290 MB, free: 4.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.005801, allocations: 4 kB / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005802, allocations: 0 / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.005812, allocations: 4 kB / 290 MB, free: 4.215 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004481/0.00626, allocations: 331.9 kB / 290.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.006289, allocations: 8.031 kB / 290.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.006327, allocations: 8.938 kB / 290.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.00648, allocations: 148.2 kB / 290.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.006496, allocations: 384 / 290.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.006517, allocations: 4.375 kB / 290.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.006658, allocations: 112.5 kB / 290.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006668, allocations: 8 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.006675, allocations: 0 / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00668, allocations: 0 / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.006715, allocations: 14.81 kB / 290.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.006955, allocations: 177.9 kB / 290.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.007063, allocations: 97.3 kB / 290.9 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.007086, allocations: 16.78 kB / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.007098, allocations: 4 kB / 290.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.007202, allocations: 62.28 kB / 291 MB, free: 3.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.007204, allocations: 4 kB / 291 MB, free: 3.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003217/0.007525, allocations: 137.4 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.007552, allocations: 51.41 kB / 291.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.007651, allocations: 154.5 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.007669, allocations: 33.7 kB / 291.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.0077, allocations: 95.97 kB / 291.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.007729, allocations: 35.72 kB / 291.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.007762, allocations: 21.72 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.007842, allocations: 330.7 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.007861, allocations: 10.83 kB / 291.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.007908, allocations: 60.27 kB / 291.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/0.007959, allocations: 55.27 kB / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007961, allocations: 0 / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.169e-05/0.008043, allocations: 68.44 kB / 292 MB, free: 2.004 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.008055, allocations: 8 kB / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.00806, allocations: 0 / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.008072, allocations: 0 / 292 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.008147, allocations: 23.98 kB / 292.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.00815, allocations: 0 / 292.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.008177, allocations: 8.062 kB / 292.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.008183, allocations: 4 kB / 292.1 MB, free: 1.961 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 (11): * Single equations (assignments): 11 * 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.821e-05/0.008252, allocations: 124.5 kB / 292.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.008265, allocations: 7.984 kB / 292.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.00838, allocations: 86.53 kB / 292.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008384, allocations: 4 kB / 292.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008385, allocations: 0 / 292.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008389, allocations: 0 / 292.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.008639, allocations: 303.4 kB / 292.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008641, allocations: 7.969 kB / 292.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.008684, allocations: 19.98 kB / 292.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.008696, allocations: 11.91 kB / 292.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.0087, allocations: 0 / 292.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008708, allocations: 4 kB / 292.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008711, allocations: 4 kB / 292.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.008714, allocations: 3.938 kB / 292.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.008856, allocations: 219.3 kB / 292.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.008876, allocations: 8 kB / 292.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.008922, allocations: 0 / 292.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.008954, allocations: 15.98 kB / 292.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.008969, allocations: 11.88 kB / 292.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.009007, allocations: 43.64 kB / 292.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009007, allocations: 0 / 292.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.009168, allocations: 31.94 kB / 293 MB, free: 1.004 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 (11): * Single equations (assignments): 9 * 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.001575/0.01074, allocations: 0.6897 MB / 293.6 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.01087, allocations: 56.7 kB / 293.7 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.01087, allocations: 8.094 kB / 293.7 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.01092, allocations: 28.84 kB / 293.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01116, allocations: 188.4 kB / 293.9 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.0117, allocations: 219.3 kB / 294.1 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.01174, allocations: 67.34 kB / 294.2 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.01185, allocations: 29.02 kB / 294.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.01193, allocations: 83.44 kB / 294.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01194, allocations: 0 / 294.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004147/0.01608, allocations: 2.468 MB / 296.8 MB, free: 13.47 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.93800166528672]