Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001152/0.001152, 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.00435/0.00435, allocations: 158.4 kB / 24.7 MB, free: 8.91 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.8977/0.8977, allocations: 177.1 MB / 205 MB, free: 5.715 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.2405/0.2405, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 440.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.647e-05, allocations: 2.281 kB / 440.9 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002792/0.002828, allocations: 1.669 MB / 442.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009963/0.003825, allocations: 0.5724 MB / 443.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.003905, allocations: 0 / 443.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.004497, allocations: 459 kB / 443.6 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.00499, allocations: 291.1 kB / 443.8 MB, free: 0.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.005391, allocations: 183.9 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005666, allocations: 191.5 kB / 444.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.00578, allocations: 8.234 kB / 444.2 MB, free: 384 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.005924, allocations: 127.8 kB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.006172, allocations: 251.6 kB / 444.6 MB, free: 4 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.006192, allocations: 4 kB / 444.6 MB, free: 0 / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1926/0.1988, allocations: 48.75 kB / 444.6 MB, free: 44.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1989, allocations: 87.91 kB / 444.7 MB, free: 44.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.199, allocations: 38.94 kB / 444.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1992, allocations: 269.4 kB / 445 MB, free: 44.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1992, allocations: 0 / 445 MB, free: 44.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1992, allocations: 2.562 kB / 445 MB, free: 44.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1993, allocations: 0 / 445 MB, free: 44.51 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.0004566/0.1997, allocations: 0.5848 MB / 445.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1997, allocations: 8.344 kB / 445.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.1998, allocations: 47.95 kB / 445.7 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1999, allocations: 258.4 kB / 445.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1999, allocations: 2.5 kB / 445.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2, allocations: 5.125 kB / 445.9 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2001, allocations: 68.75 kB / 446 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2001, allocations: 3.375 kB / 446 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.2001, allocations: 384 / 446 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2001, allocations: 7.562 kB / 446 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.2002, allocations: 47.92 kB / 446.1 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.2005, allocations: 352.5 kB / 446.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.2007, allocations: 57.52 kB / 446.5 MB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.2007, allocations: 29.78 kB / 446.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2007, allocations: 5.469 kB / 446.5 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.2007, allocations: 36.72 kB / 446.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.2007, allocations: 0 / 446.5 MB, free: 43.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008309/0.2016, allocations: 0.4968 MB / 447 MB, free: 43.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.2016, allocations: 54.97 kB / 447.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.202, allocations: 0.8596 MB / 447.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.202, allocations: 32.55 kB / 448 MB, free: 43.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.2021, allocations: 224.1 kB / 448.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.2021, allocations: 31.23 kB / 448.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2022, allocations: 29.14 kB / 448.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.2022, allocations: 365.5 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.2023, allocations: 61.06 kB / 448.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.2024, allocations: 55.72 kB / 448.7 MB, free: 42.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2025, allocations: 121.9 kB / 448.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2025, allocations: 0 / 448.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001795/0.2027, allocations: 211.6 kB / 449 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2027, allocations: 5.781 kB / 449 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2027, allocations: 3.812 kB / 449.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2027, allocations: 0 / 449.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.2028, allocations: 28.27 kB / 449.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2028, allocations: 2.844 kB / 449.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.2028, allocations: 9.203 kB / 449.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2028, allocations: 2.906 kB / 449.1 MB, free: 42.67 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 (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 0.0001052/0.2029, allocations: 225.6 kB / 449.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2029, allocations: 44.16 kB / 449.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.2032, allocations: 225.6 kB / 449.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2032, allocations: 2.969 kB / 449.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2032, allocations: 0 / 449.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2032, allocations: 0 / 449.6 MB, free: 42.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.2036, allocations: 0.5434 MB / 450.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2036, allocations: 3.125 kB / 450.1 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.2036, allocations: 26.36 kB / 450.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2036, allocations: 2.781 kB / 450.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2037, allocations: 6.875 kB / 450.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2037, allocations: 3.094 kB / 450.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2037, allocations: 5.344 kB / 450.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.2038, allocations: 296 kB / 450.5 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.2039, allocations: 43.17 kB / 450.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2039, allocations: 6.062 kB / 450.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.2039, allocations: 9.078 kB / 450.5 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.204, allocations: 18.64 kB / 450.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.204, allocations: 2.906 kB / 450.5 MB, free: 41.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.2043, allocations: 0.6498 MB / 451.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2043, allocations: 0 / 451.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.2045, allocations: 39.09 kB / 451.2 MB, free: 41.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.00076/0.2052, allocations: 0.4961 MB / 451.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2054, allocations: 123.8 kB / 451.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.2054, allocations: 2.844 kB / 451.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.2055, allocations: 66.03 kB / 451.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2058, allocations: 30.16 kB / 451.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.2065, allocations: 0.9207 MB / 452.9 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2066, allocations: 234.7 kB / 453.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.2066, allocations: 18.03 kB / 453.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2066, allocations: 3.938 kB / 453.1 MB, free: 40.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004029/0.2107, allocations: 4.415 MB / 457.5 MB, free: 39.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.9281420251354575]