Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0008228/0.0008228, 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.003113/0.003113, allocations: 156 kB / 24.7 MB, free: 9.434 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.8476/0.8476, allocations: 177 MB / 204.9 MB, free: 5.742 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.2605/0.2605, allocations: 34.25 MB / 295.6 MB, free: 0.6641 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.936e-05, allocations: 2.281 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.169/0.1691, allocations: 1.588 MB / 445 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1703, allocations: 1.244 MB / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.1704, allocations: 0 / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1706, allocations: 20.08 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.1709, allocations: 91.59 kB / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1711, allocations: 88.62 kB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1713, allocations: 75.7 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1714, allocations: 6.328 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.1714, allocations: 38.53 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1715, allocations: 24.94 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1716, allocations: 2.906 kB / 446.6 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1717, allocations: 91.14 kB / 446.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.1718, allocations: 20.78 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.1718, allocations: 6.594 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.172, allocations: 147.6 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.172, allocations: 0 / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.172, allocations: 2.906 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.172, allocations: 0 / 446.9 MB, free: 42.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004/0.1724, allocations: 328.2 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1725, allocations: 8.438 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1725, allocations: 16.67 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1726, allocations: 133 kB / 447.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1726, allocations: 384 / 447.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1727, allocations: 5.875 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1728, allocations: 90.58 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.1728, allocations: 4.703 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1728, allocations: 384 / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1728, allocations: 6.422 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.1729, allocations: 25.81 kB / 447.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1731, allocations: 219.4 kB / 447.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1732, allocations: 42.52 kB / 447.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.1733, allocations: 14.73 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1733, allocations: 3 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.1733, allocations: 39.41 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.1733, allocations: 0 / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003819/0.1737, allocations: 147.5 kB / 447.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1737, allocations: 79.89 kB / 448 MB, free: 41.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.058e-05/0.1738, allocations: 148.9 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1738, allocations: 25.7 kB / 448.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.1739, allocations: 93.95 kB / 448.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1739, allocations: 22.36 kB / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1739, allocations: 19.28 kB / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.1739, allocations: 316.9 kB / 448.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.47e-05/0.174, allocations: 21.61 kB / 448.6 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.174, allocations: 57.91 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.1741, allocations: 51.88 kB / 448.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1741, allocations: 2.844 kB / 448.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.213e-05/0.1742, allocations: 80.84 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1742, allocations: 5.188 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1742, allocations: 0 / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1742, allocations: 3.344 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.1743, allocations: 18.31 kB / 448.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1743, allocations: 0 / 448.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.1743, allocations: 10.05 kB / 448.9 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1743, allocations: 2.656 kB / 448.9 MB, free: 41.13 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 4.291e-05/0.1743, allocations: 112.4 kB / 449 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1743, allocations: 17.11 kB / 449 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1745, allocations: 90.58 kB / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1745, allocations: 2.656 kB / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1745, allocations: 0 / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1745, allocations: 0 / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1747, allocations: 294.9 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1747, allocations: 0 / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.1747, allocations: 22.09 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1747, allocations: 4.031 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1747, allocations: 0 / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1747, allocations: 2.656 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1747, allocations: 0 / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.868e-05/0.1748, allocations: 184.8 kB / 449.6 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.1748, allocations: 6.984 kB / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1749, allocations: 0 / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.558e-05/0.1749, allocations: 6.266 kB / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1749, allocations: 5.266 kB / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1749, allocations: 6.844 kB / 449.6 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.175, allocations: 113.6 kB / 449.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.175, allocations: 0 / 449.7 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.1751, allocations: 38.7 kB / 449.8 MB, free: 40.43 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.0007986/0.1759, allocations: 0.5187 MB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1761, allocations: 44.92 kB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1761, allocations: 3.938 kB / 450.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.1761, allocations: 23.34 kB / 450.3 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.1764, allocations: 31.56 kB / 450.4 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1767, allocations: 188.1 kB / 450.6 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.1768, allocations: 75.5 kB / 450.6 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1768, allocations: 20.12 kB / 450.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1768, allocations: 0 / 450.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of Templates: time 0.002662/0.1795, allocations: 1.974 MB / 452.6 MB, free: 39.73 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.867896900512278]