Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001104/0.001104, 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.005125/0.005125, allocations: 164 kB / 24.7 MB, free: 8.891 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.8775/0.8775, allocations: 177.1 MB / 205 MB, free: 5.75 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.261/0.261, allocations: 32.79 MB / 294.2 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.055e-05, allocations: 2.281 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001942/0.001963, allocations: 1.645 MB / 442.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.002631, allocations: 0.5685 MB / 443.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.002685, allocations: 0 / 443.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.003089, allocations: 455.1 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.003424, allocations: 295.1 kB / 443.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.003694, allocations: 170.8 kB / 444 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.003867, allocations: 179.7 kB / 444.2 MB, free: 440 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.003957, allocations: 11.98 kB / 444.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.004052, allocations: 119.7 kB / 444.3 MB, free: 308 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.004224, allocations: 247.5 kB / 444.5 MB, free: 60 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.00424, allocations: 7.938 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.00431, allocations: 35.94 kB / 444.6 MB, free: 16 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1748/0.1791, allocations: 79.06 kB / 444.6 MB, free: 44.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.1791, allocations: 40.05 kB / 444.7 MB, free: 44.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1794, allocations: 241 kB / 444.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1794, allocations: 0 / 444.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1794, allocations: 4.656 kB / 444.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1794, allocations: 0 / 444.9 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.0004279/0.1799, allocations: 0.5783 MB / 445.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1799, allocations: 9.219 kB / 445.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.18, allocations: 45.88 kB / 445.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1801, allocations: 244.2 kB / 445.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1801, allocations: 1.562 kB / 445.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1801, allocations: 7.656 kB / 445.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1803, allocations: 54.64 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1803, allocations: 192 / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1803, allocations: 4.531 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1803, allocations: 3.938 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.1803, allocations: 31.86 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1806, allocations: 335.5 kB / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1808, allocations: 48.03 kB / 446.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.1808, allocations: 17.02 kB / 446.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1808, allocations: 7.094 kB / 446.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.1808, allocations: 36.19 kB / 446.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1808, allocations: 0 / 446.3 MB, free: 43.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003832/0.1812, allocations: 240.8 kB / 446.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1812, allocations: 51.41 kB / 446.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.1817, allocations: 0.8652 MB / 447.5 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.1817, allocations: 28.36 kB / 447.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.1817, allocations: 213.5 kB / 447.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.1817, allocations: 18.11 kB / 447.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1818, allocations: 15.97 kB / 447.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.1818, allocations: 366.5 kB / 448.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.1819, allocations: 27.3 kB / 448.1 MB, free: 42.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.1819, allocations: 19.25 kB / 448.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.667e-05/0.182, allocations: 54.16 kB / 448.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.182, allocations: 4.625 kB / 448.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.1821, allocations: 124.8 kB / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1821, allocations: 9.094 kB / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1821, allocations: 0 / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1821, allocations: 0 / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.1821, allocations: 22.77 kB / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1821, allocations: 0 / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.1822, allocations: 5.344 kB / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1822, allocations: 0 / 448.4 MB, free: 42.75 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.498e-05/0.1823, allocations: 221.4 kB / 448.6 MB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1823, allocations: 41.06 kB / 448.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.1824, allocations: 148 kB / 448.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1824, allocations: 1.688 kB / 448.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1824, allocations: 2.75 kB / 448.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1825, allocations: 3.562 kB / 448.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1827, allocations: 416.6 kB / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1827, allocations: 0 / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.1827, allocations: 12.14 kB / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1827, allocations: 0 / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1827, allocations: 3.031 kB / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1827, allocations: 0 / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1827, allocations: 0 / 449.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.1828, allocations: 232.2 kB / 449.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.1829, allocations: 34.72 kB / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1829, allocations: 0 / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.1829, allocations: 2.844 kB / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.1829, allocations: 8.844 kB / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1829, allocations: 0 / 449.5 MB, free: 42.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1832, allocations: 0.6533 MB / 450.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1832, allocations: 0 / 450.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.1834, allocations: 26.52 kB / 450.2 MB, free: 41.98 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.0006082/0.184, allocations: 438.4 kB / 450.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.1841, allocations: 53 kB / 450.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1841, allocations: 0 / 450.6 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.1842, allocations: 26.95 kB / 450.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1844, allocations: 25.86 kB / 450.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.185, allocations: 0.8388 MB / 451.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1851, allocations: 223.3 kB / 451.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.1852, allocations: 14.03 kB / 451.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1852, allocations: 0 / 451.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003392/0.1886, allocations: 3.933 MB / 455.7 MB, free: 40.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.927710002288222]