Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001108/0.001108, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003586/0.003586, allocations: 157.5 kB / 24.7 MB, free: 9.422 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.8638/0.8638, allocations: 177 MB / 204.9 MB, free: 5.75 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.2505/0.2505, allocations: 34.24 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.832e-05, allocations: 2.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.171/0.171, allocations: 1.615 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.1717, allocations: 0.5382 MB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.1717, allocations: 0 / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.172, allocations: 74.58 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1722, allocations: 98.3 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1724, allocations: 120 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1725, allocations: 82.77 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.868e-05/0.1726, allocations: 16.23 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.478e-05/0.1727, allocations: 39.91 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.1727, allocations: 47.23 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1727, allocations: 4.969 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.897e-05/0.1728, allocations: 48.95 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.1729, allocations: 21.12 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1729, allocations: 17.14 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.1731, allocations: 99.33 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1731, allocations: 2.75 kB / 446.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1731, allocations: 0 / 446.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1731, allocations: 0.5625 kB / 446.3 MB, free: 43.39 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.0003307/0.1734, allocations: 343.4 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1734, allocations: 8.344 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.1735, allocations: 10.11 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1736, allocations: 146.9 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1736, allocations: 4.031 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1736, allocations: 10.89 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.563e-05/0.1737, allocations: 56.81 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1737, allocations: 192 / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1737, allocations: 6.906 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1737, allocations: 384 / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.1738, allocations: 31.16 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.174, allocations: 237.2 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.1741, allocations: 45.33 kB / 447.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.1741, allocations: 20.27 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1741, allocations: 1.938 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.1741, allocations: 37.19 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1741, allocations: 0 / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.1746, allocations: 242 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.1747, allocations: 54.53 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1748, allocations: 202.3 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.1748, allocations: 32.27 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.1748, allocations: 111.8 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1748, allocations: 25.8 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1748, allocations: 19.38 kB / 447.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.942e-05/0.1749, allocations: 327.4 kB / 448.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.1749, allocations: 26.66 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.175, allocations: 31.8 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.175, allocations: 75.77 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.175, allocations: 4 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000103/0.1751, allocations: 114.2 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1751, allocations: 9.359 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1751, allocations: 0 / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1752, allocations: 0 / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1752, allocations: 21.58 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.1752, allocations: 1.641 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1752, allocations: 9.297 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1752, allocations: 2.688 kB / 448.5 MB, free: 41.66 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.381e-05/0.1753, allocations: 128.8 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.1753, allocations: 14.66 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.1755, allocations: 133.5 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1755, allocations: 3.938 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1755, allocations: 2.906 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1755, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.1757, allocations: 366.6 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1757, allocations: 0 / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.1757, allocations: 18.19 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1757, allocations: 0 / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1758, allocations: 2.688 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1758, allocations: 0 / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1758, allocations: 0 / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.1759, allocations: 219.3 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.1759, allocations: 7.047 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1759, allocations: 6.141 kB / 449.4 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.1759, allocations: 10.91 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1759, allocations: 6.281 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1759, allocations: 2.906 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.176, allocations: 158.3 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.176, allocations: 2.906 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001549/0.1762, allocations: 26.25 kB / 449.6 MB, free: 40.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0006876/0.1768, allocations: 474.7 kB / 450 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.177, allocations: 74.3 kB / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.177, allocations: 0 / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.177, allocations: 33.78 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1773, allocations: 24.27 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1776, allocations: 288.2 kB / 450.4 MB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.1776, allocations: 90.8 kB / 450.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1776, allocations: 21.12 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1776, allocations: 0 / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of Templates: time 0.002398/0.18, allocations: 1.847 MB / 452.4 MB, free: 40.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.825760609470308]