Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001051/0.001051, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001132/0.001132, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 1.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2695/0.2695, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 4 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.43e-05, allocations: 5.688 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.004861/0.004875, allocations: 1.638 MB / 379.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.005671, allocations: 0.5414 MB / 380.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.005714, allocations: 3.938 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.005836, allocations: 23.86 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.006017, allocations: 79.55 kB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.006229, allocations: 111.6 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.00633, allocations: 71.7 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.006385, allocations: 8 kB / 380.5 MB, free: 492 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.69e-05/0.006432, allocations: 39.89 kB / 380.5 MB, free: 452 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.006472, allocations: 11.98 kB / 380.6 MB, free: 440 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.006483, allocations: 4 kB / 380.6 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.006536, allocations: 24 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.006568, allocations: 19.92 kB / 380.6 MB, free: 392 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.006589, allocations: 15.92 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.006698, allocations: 63.75 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.0067, allocations: 0 / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.0067, allocations: 0 / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.534e-06/0.006703, allocations: 0 / 380.7 MB, free: 312 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002957/0.006998, allocations: 428 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.124e-05/0.00702, allocations: 12.03 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.007043, allocations: 8.891 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.007133, allocations: 147 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-06/0.007137, allocations: 384 / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.007149, allocations: 4.375 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.257e-05/0.007211, allocations: 54.95 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.007216, allocations: 192 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.007222, allocations: 4.125 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.007225, allocations: 0 / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.007249, allocations: 15.92 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.007448, allocations: 279.8 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.00754, allocations: 35.06 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.007555, allocations: 11.77 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.007566, allocations: 7.938 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.00758, allocations: 41.33 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.007581, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002143/0.007795, allocations: 101.4 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.007816, allocations: 55.41 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.007917, allocations: 208.9 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.007925, allocations: 25.7 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.007967, allocations: 150.8 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.007981, allocations: 15.91 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.008005, allocations: 19.38 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.008104, allocations: 0.5 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.008117, allocations: 8.062 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.008129, allocations: 7.984 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.00816, allocations: 23.69 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.008161, allocations: 3.938 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.946e-05/0.00822, allocations: 69.53 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.008227, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.00823, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.008235, allocations: 0 / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.054e-05/0.008266, allocations: 8 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.008269, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.008285, allocations: 7.984 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.008288, allocations: 0 / 382.9 MB, free: 13.88 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 (5): * Single equations (assignments): 5 * 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.171e-05/0.00835, allocations: 164.5 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.008367, allocations: 7.953 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.008455, allocations: 74.06 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.008457, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008459, allocations: 4 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.008462, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.008658, allocations: 325.4 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.008658, allocations: 320 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.008685, allocations: 16 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.008687, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008693, allocations: 7.938 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008694, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.008694, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.008788, allocations: 211.8 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.008796, allocations: 7.953 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.008807, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.001e-05/0.008837, allocations: 4 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.00886, allocations: 3.984 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.008863, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.00892, allocations: 155.1 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008921, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001495/0.00907, allocations: 19.92 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007281/0.009798, allocations: 384 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.009873, allocations: 31.61 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.009874, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.009895, allocations: 23.67 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01008, allocations: 19.36 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.01036, allocations: 194.4 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.01039, allocations: 59.34 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.01042, allocations: 11.98 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.01044, allocations: 16.5 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01044, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002429/0.01287, allocations: 1.173 MB / 385.8 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.2260838369838893]