Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0007857/0.0007857, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003284/0.003284, allocations: 161.2 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.9305/0.9305, allocations: 177.1 MB / 205 MB, free: 5.73 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.2788/0.2788, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.489e-05, allocations: 2.281 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002081/0.002106, allocations: 1.653 MB / 442.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003123, allocations: 0.5374 MB / 443.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.003176, allocations: 0 / 443.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.003589, allocations: 451 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.00394, allocations: 299.2 kB / 443.8 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004162, allocations: 129.7 kB / 443.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004339, allocations: 171.6 kB / 444.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004439, allocations: 15.98 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.004536, allocations: 115.8 kB / 444.2 MB, free: 376 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.004712, allocations: 239.6 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.004727, allocations: 7.938 kB / 444.5 MB, free: 128 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.004795, allocations: 31.92 kB / 444.5 MB, free: 96 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.44e-05/0.004889, allocations: 91.64 kB / 444.6 MB, free: 4 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1968/0.2016, allocations: 36.64 kB / 444.6 MB, free: 44.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2019, allocations: 233.8 kB / 444.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2019, allocations: 3.531 kB / 444.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2019, allocations: 0 / 444.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2019, allocations: 0 / 444.8 MB, free: 44.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004219/0.2024, allocations: 0.576 MB / 445.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2024, allocations: 8.469 kB / 445.4 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2024, allocations: 43.91 kB / 445.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2026, allocations: 239.3 kB / 445.7 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.2026, allocations: 2.25 kB / 445.7 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2026, allocations: 4.469 kB / 445.7 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.2027, allocations: 52.3 kB / 445.8 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2027, allocations: 4.125 kB / 445.8 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2027, allocations: 1.906 kB / 445.8 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2027, allocations: 10.78 kB / 445.8 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.2028, allocations: 26.58 kB / 445.8 MB, free: 43.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.203, allocations: 326.9 kB / 446.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.2032, allocations: 43.22 kB / 446.2 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.2032, allocations: 21.88 kB / 446.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2033, allocations: 2.844 kB / 446.2 MB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.003e-05/0.2033, allocations: 32.62 kB / 446.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2033, allocations: 3.188 kB / 446.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003614/0.2036, allocations: 228.1 kB / 446.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.2036, allocations: 54.06 kB / 446.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.2041, allocations: 0.8589 MB / 447.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.2041, allocations: 29.52 kB / 447.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.2041, allocations: 218 kB / 447.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2042, allocations: 13.88 kB / 447.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.2042, allocations: 24.23 kB / 447.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.2042, allocations: 356.4 kB / 448 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.404e-05/0.2043, allocations: 18.62 kB / 448 MB, free: 42.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.2043, allocations: 18.06 kB / 448 MB, free: 42.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.2043, allocations: 51.86 kB / 448.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2043, allocations: 3.938 kB / 448.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.667e-05/0.2044, allocations: 121.3 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2045, allocations: 6 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.2045, allocations: 0 / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2045, allocations: 0 / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.2045, allocations: 15.06 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2045, allocations: 3.469 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.2045, allocations: 8.891 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2045, allocations: 0 / 448.2 MB, free: 42.74 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 (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 9.296e-05/0.2046, allocations: 217.9 kB / 448.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.2047, allocations: 51.3 kB / 448.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2048, allocations: 129 kB / 448.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2048, allocations: 4.844 kB / 448.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2048, allocations: 0 / 448.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2048, allocations: 0 / 448.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.205, allocations: 412.3 kB / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.205, allocations: 0.6562 kB / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.2051, allocations: 13.16 kB / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2051, allocations: 0 / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.2051, allocations: 2.938 kB / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.2051, allocations: 0 / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2051, allocations: 6.844 kB / 449 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.2052, allocations: 221.5 kB / 449.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.2052, allocations: 32.41 kB / 449.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2052, allocations: 2.812 kB / 449.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.2053, allocations: 5.719 kB / 449.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2053, allocations: 2.875 kB / 449.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.2053, allocations: 0 / 449.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.2056, allocations: 0.6529 MB / 450 MB, free: 42.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2056, allocations: 0 / 450 MB, free: 42.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.2057, allocations: 27 kB / 450 MB, free: 42.02 MB / 410.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.0005824/0.2063, allocations: 434.8 kB / 450.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.2064, allocations: 51.11 kB / 450.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.2064, allocations: 3.938 kB / 450.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.2064, allocations: 21.83 kB / 450.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.2067, allocations: 30.11 kB / 450.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.2073, allocations: 0.8264 MB / 451.3 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2074, allocations: 214.6 kB / 451.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.2074, allocations: 11.38 kB / 451.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2074, allocations: 0 / 451.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of Templates: time 0.003323/0.2107, allocations: 3.871 MB / 455.4 MB, free: 40.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.925984520465136]