Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001269/0.001269, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001158/0.001158, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.9983/0.9983, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.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.2573/0.2573, allocations: 32.8 MB / 294.3 MB, free: 1.215 MB / 266.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.708e-05, allocations: 6.25 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00312/0.003147, allocations: 1.684 MB / 377.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.004192, allocations: 0.5376 MB / 378.3 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.004262, allocations: 7.938 kB / 378.3 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.004544, allocations: 39.7 kB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.004918, allocations: 87.55 kB / 378.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.005227, allocations: 95.62 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.005415, allocations: 83.81 kB / 378.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.005528, allocations: 19.98 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.005617, allocations: 47.83 kB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005723, allocations: 31.89 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.005743, allocations: 8 kB / 378.7 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.005862, allocations: 43.92 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.005925, allocations: 27.86 kB / 378.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.005966, allocations: 15.92 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.00618, allocations: 91.66 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006183, allocations: 0 / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.006185, allocations: 4 kB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.00619, allocations: 0 / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005374/0.006728, allocations: 432 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.006773, allocations: 15.97 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.006839, allocations: 12.89 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.007032, allocations: 156.4 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.007044, allocations: 384 / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.007072, allocations: 8.328 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.007236, allocations: 70.94 kB / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.00725, allocations: 192 / 379.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.007262, allocations: 4.125 kB / 379.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.007272, allocations: 4 kB / 379.5 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.007333, allocations: 23.92 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.007734, allocations: 303.6 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.007843, allocations: 62.92 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.007878, allocations: 23.67 kB / 379.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.007902, allocations: 0 / 379.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.00793, allocations: 37.39 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.007931, allocations: 0 / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000811/0.008742, allocations: 232.8 kB / 380.2 MB, free: 304 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.008781, allocations: 59.34 kB / 380.3 MB, free: 232 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.008939, allocations: 208.8 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.008973, allocations: 37.7 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.009042, allocations: 150.8 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.009088, allocations: 39.64 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.009139, allocations: 31.38 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.009288, allocations: 0.4923 MB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.009331, allocations: 19.98 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.009369, allocations: 15.98 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.009463, allocations: 51.67 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009464, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.009629, allocations: 105.5 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.009644, allocations: 4 kB / 381.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.009651, allocations: 8 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.009666, allocations: 0 / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.009787, allocations: 27.98 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.009793, allocations: 3.938 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.009827, allocations: 7.984 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.009838, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.674e-05/0.009924, allocations: 160.6 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.009964, allocations: 11.95 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.01019, allocations: 130.1 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01019, allocations: 11.92 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.0102, allocations: 0 / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.0102, allocations: 3.938 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.01067, allocations: 413 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01068, allocations: 4 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.281e-05/0.01076, allocations: 27.92 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01076, allocations: 3.938 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01078, allocations: 4 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01078, allocations: 4 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01078, allocations: 4.031 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.01099, allocations: 247.6 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.011, allocations: 15.89 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01102, allocations: 3.984 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.01109, allocations: 4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.01114, allocations: 15.92 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01115, allocations: 4 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.01123, allocations: 155.1 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01123, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.01156, allocations: 24 kB / 382.7 MB, free: 13.67 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001327/0.01289, allocations: 446.5 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.01308, allocations: 67.59 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01308, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.01315, allocations: 43.61 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.01351, allocations: 31.86 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.01397, allocations: 234.4 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01403, allocations: 67.34 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.01409, allocations: 16.55 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.01413, allocations: 20.5 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01413, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.004177/0.01831, allocations: 1.664 MB / 385.3 MB, free: 11.22 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.1594966962002218]