Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0007823/0.0007823, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003308/0.003308, allocations: 163.9 kB / 24.7 MB, free: 9.43 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 0.8542/0.8542, allocations: 177.1 MB / 205 MB, free: 5.727 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.2659/0.2659, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 443.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.546e-05, allocations: 6.219 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.1992/0.1992, allocations: 1.669 MB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007025/0.1999, allocations: 0.5739 MB / 445.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.2, allocations: 2.969 kB / 445.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.2004, allocations: 457.2 kB / 446.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2006, allocations: 299.4 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.2009, allocations: 178.5 kB / 446.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.201, allocations: 175.8 kB / 446.8 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.2011, allocations: 15.88 kB / 446.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.683e-05/0.2012, allocations: 127.4 kB / 446.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2014, allocations: 245.1 kB / 447.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2014, allocations: 5.844 kB / 447.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.2014, allocations: 46.89 kB / 447.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.2015, allocations: 86.16 kB / 447.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.2015, allocations: 45.55 kB / 447.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2017, allocations: 257 kB / 447.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2017, allocations: 2.281 kB / 447.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2017, allocations: 0 / 447.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2017, allocations: 0 / 447.6 MB, free: 43.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004062/0.2021, allocations: 0.587 MB / 448.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2022, allocations: 8.438 kB / 448.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.2022, allocations: 44.5 kB / 448.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2024, allocations: 243 kB / 448.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2024, allocations: 11.25 kB / 448.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2024, allocations: 2.906 kB / 448.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.2025, allocations: 65.66 kB / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2025, allocations: 192 / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2025, allocations: 4.125 kB / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2025, allocations: 2.812 kB / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.2026, allocations: 31.56 kB / 448.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.2029, allocations: 342.9 kB / 448.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.2029, allocations: 50.2 kB / 449 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.203, allocations: 26.56 kB / 449 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.203, allocations: 2.906 kB / 449 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.203, allocations: 30.56 kB / 449 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.203, allocations: 0 / 449 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005473/0.2035, allocations: 337.3 kB / 449.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.2036, allocations: 51.41 kB / 449.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.204, allocations: 0.8628 MB / 450.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.204, allocations: 25.7 kB / 450.3 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.2041, allocations: 210.4 kB / 450.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.2041, allocations: 29.94 kB / 450.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.2041, allocations: 22.5 kB / 450.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.2041, allocations: 365.1 kB / 450.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.2042, allocations: 29.19 kB / 450.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.2042, allocations: 38.78 kB / 451 MB, free: 40.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.2043, allocations: 70.36 kB / 451.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2043, allocations: 3.469 kB / 451.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000122/0.2044, allocations: 153.5 kB / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2044, allocations: 5.812 kB / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2044, allocations: 0 / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2045, allocations: 3.938 kB / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.2045, allocations: 23.66 kB / 451.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2045, allocations: 0 / 451.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.2046, allocations: 9.203 kB / 451.3 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2046, allocations: 0 / 451.3 MB, free: 40.82 MB / 410.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 (8): * Single equations (assignments): 8 * 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 9.989e-05/0.2047, allocations: 220.4 kB / 451.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.2047, allocations: 48.11 kB / 451.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.2049, allocations: 176.1 kB / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2049, allocations: 4 kB / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2049, allocations: 3 kB / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.2049, allocations: 0 / 451.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2052, allocations: 461.9 kB / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2052, allocations: 0 / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.2052, allocations: 17.56 kB / 452.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2052, allocations: 3.188 kB / 452.2 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2052, allocations: 10.11 kB / 452.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2052, allocations: 4.031 kB / 452.2 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2052, allocations: 3.938 kB / 452.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.2053, allocations: 246.7 kB / 452.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.2054, allocations: 38.44 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2054, allocations: 0 / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.2054, allocations: 8.281 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2054, allocations: 10.12 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2054, allocations: 2.594 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003034/0.2058, allocations: 0.6517 MB / 453.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2058, allocations: 4 kB / 453.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.2059, allocations: 33.92 kB / 453.2 MB, free: 39.78 MB / 410.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 (8): * Single equations (assignments): 8 * 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.0007276/0.2066, allocations: 494 kB / 453.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.2068, allocations: 80.59 kB / 453.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2068, allocations: 0 / 453.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.2068, allocations: 42.08 kB / 453.8 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.2071, allocations: 28.36 kB / 453.8 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.2078, allocations: 0.874 MB / 454.7 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2079, allocations: 224 kB / 454.9 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2079, allocations: 18.34 kB / 454.9 MB, free: 39.06 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2079, allocations: 0 / 454.9 MB, free: 39.06 MB / 410.7 MB Notification: Performance of Templates: time 0.003921/0.2118, allocations: 4.205 MB / 459.1 MB, free: 38.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.845938426442444]