Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007786/0.0007786, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003151/0.003151, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8378/0.8378, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2715/0.2715, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.108e-05, allocations: 6.281 kB / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.1774/0.1774, allocations: 1.608 MB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1785, allocations: 1.25 MB / 446.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1786, allocations: 0 / 446.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1788, allocations: 31.11 kB / 446.3 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.179, allocations: 84.14 kB / 446.4 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1792, allocations: 113.7 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.1793, allocations: 88.61 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.1794, allocations: 17.72 kB / 446.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.1794, allocations: 43.03 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.1795, allocations: 27.34 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1795, allocations: 5.031 kB / 446.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.1796, allocations: 92.52 kB / 446.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.1796, allocations: 22.05 kB / 446.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1797, allocations: 17.08 kB / 446.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1798, allocations: 161.2 kB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1798, allocations: 1.75 kB / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1798, allocations: 0 / 447 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1798, allocations: 0 / 447 MB, free: 42.76 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.000328/0.1802, allocations: 334 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1802, allocations: 15 kB / 447.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1802, allocations: 11.88 kB / 447.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1804, allocations: 142 kB / 447.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.1804, allocations: 7.156 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1804, allocations: 3.031 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1805, allocations: 109.1 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1805, allocations: 2.875 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1805, allocations: 384 / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1805, allocations: 4.812 kB / 447.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.1806, allocations: 43.75 kB / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.1808, allocations: 243.9 kB / 447.9 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.1809, allocations: 54.06 kB / 447.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.736e-05/0.1809, allocations: 20.12 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1809, allocations: 2.75 kB / 448 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.1809, allocations: 41.64 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.02e-07/0.1809, allocations: 6.125 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003825/0.1813, allocations: 196.2 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.1813, allocations: 77.11 kB / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1814, allocations: 153.2 kB / 448.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.1814, allocations: 25.7 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.1815, allocations: 94.03 kB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1815, allocations: 36.98 kB / 448.6 MB, free: 41.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1815, allocations: 21.22 kB / 448.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.562e-05/0.1815, allocations: 320.9 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.1816, allocations: 29.25 kB / 448.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.1816, allocations: 72.75 kB / 449 MB, free: 41.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.1817, allocations: 72.22 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1817, allocations: 3.938 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001083/0.1818, allocations: 109.1 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1818, allocations: 5.812 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1818, allocations: 0 / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1818, allocations: 0 / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.1819, allocations: 21.81 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1819, allocations: 2.688 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.1819, allocations: 9.078 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1819, allocations: 0 / 449.2 MB, free: 40.94 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 4.045e-05/0.182, allocations: 123.5 kB / 449.3 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.182, allocations: 17 kB / 449.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.1821, allocations: 130 kB / 449.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1821, allocations: 3.938 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1821, allocations: 3.938 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1821, allocations: 2.906 kB / 449.5 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1823, allocations: 352.4 kB / 449.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.1824, allocations: 0 / 449.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1824, allocations: 19.39 kB / 449.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1824, allocations: 2.938 kB / 449.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1824, allocations: 0 / 449.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1824, allocations: 0 / 449.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1824, allocations: 0 / 449.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1825, allocations: 214 kB / 450.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.1825, allocations: 10.28 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1825, allocations: 0 / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.1826, allocations: 6.781 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1826, allocations: 6.094 kB / 450.1 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1826, allocations: 6.75 kB / 450.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.1826, allocations: 119.3 kB / 450.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1826, allocations: 2.906 kB / 450.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000171/0.1828, allocations: 37.75 kB / 450.3 MB, free: 40.18 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 (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.0006996/0.1835, allocations: 0.5257 MB / 450.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1836, allocations: 72 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1836, allocations: 0 / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.1837, allocations: 41.02 kB / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1839, allocations: 19.05 kB / 450.9 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.1842, allocations: 227.6 kB / 451.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.1842, allocations: 89.5 kB / 451.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1843, allocations: 24.23 kB / 451.3 MB, free: 39.67 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1843, allocations: 0 / 451.3 MB, free: 39.67 MB / 410.7 MB Notification: Performance of Templates: time 0.002287/0.1865, allocations: 2.21 MB / 453.5 MB, free: 39.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.777986531145871]