Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.0007547/0.0007547, 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.002892/0.002892, allocations: 158 kB / 24.7 MB, free: 9.418 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.821/0.821, 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.2248/0.2248, allocations: 34.24 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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,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.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.908e-05, allocations: 6.281 kB / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.1765/0.1766, allocations: 1.584 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1778, allocations: 1.244 MB / 446.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.1779, allocations: 2.875 kB / 446.3 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1781, allocations: 17.86 kB / 446.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1784, allocations: 89.59 kB / 446.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1785, allocations: 99.02 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1787, allocations: 69.28 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1788, allocations: 2.906 kB / 446.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.1788, allocations: 39.08 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.179, allocations: 24.62 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.179, allocations: 3.688 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1791, allocations: 92.02 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.1791, allocations: 19.3 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1792, allocations: 13.98 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1794, allocations: 144.3 kB / 446.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1794, allocations: 0 / 446.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1794, allocations: 0.5938 kB / 446.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1794, allocations: 0 / 446.9 MB, free: 42.83 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.0004087/0.1798, allocations: 332 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1798, allocations: 11.12 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.1799, allocations: 14.27 kB / 447.2 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.18, allocations: 128.3 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.18, allocations: 2.969 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.18, allocations: 3.031 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1802, allocations: 89.8 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1802, allocations: 4.141 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1802, allocations: 0.9062 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1802, allocations: 2.344 kB / 447.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.538e-05/0.1803, allocations: 29.59 kB / 447.5 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.1805, allocations: 224.8 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1807, allocations: 36.22 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.1807, allocations: 24.77 kB / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1808, allocations: 0 / 447.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.353e-05/0.1808, allocations: 30.56 kB / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1808, allocations: 0 / 447.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003855/0.1812, allocations: 145.7 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1812, allocations: 80.14 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.1813, allocations: 147.9 kB / 448.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.1813, allocations: 29.7 kB / 448.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.1813, allocations: 89.98 kB / 448.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.1813, allocations: 22.7 kB / 448.3 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.1814, allocations: 18.88 kB / 448.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.302e-05/0.1814, allocations: 320.7 kB / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.1814, allocations: 17.7 kB / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.1815, allocations: 64.06 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.1815, allocations: 47.81 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1815, allocations: 0 / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.602e-05/0.1816, allocations: 87.95 kB / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1816, allocations: 7.5 kB / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1817, allocations: 0 / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1817, allocations: 0 / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.1817, allocations: 13.73 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1817, allocations: 3.938 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.1817, allocations: 9.969 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1817, allocations: 6.656 kB / 448.9 MB, free: 41.08 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.403e-05/0.1818, allocations: 112.5 kB / 449 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1818, allocations: 13.23 kB / 449 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1819, allocations: 87.52 kB / 449.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1819, allocations: 2.688 kB / 449.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.182, allocations: 0.7969 kB / 449.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.182, allocations: 0 / 449.1 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1822, allocations: 304.3 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1822, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1822, allocations: 12.31 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1822, allocations: 2.812 kB / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1822, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1822, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1822, allocations: 0 / 449.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.1823, allocations: 184.5 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.1823, allocations: 7.047 kB / 449.6 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1823, allocations: 7.531 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.1824, allocations: 3.031 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1824, allocations: 14 kB / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.1824, allocations: 0 / 449.6 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.1824, allocations: 115.6 kB / 449.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1824, allocations: 0 / 449.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.1826, allocations: 37.78 kB / 449.8 MB, free: 40.38 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.0009253/0.1836, allocations: 0.5114 MB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1837, allocations: 50 kB / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1837, allocations: 0 / 450.3 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.43e-05/0.1838, allocations: 25.92 kB / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.184, allocations: 25.48 kB / 450.4 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.1843, allocations: 187 kB / 450.6 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.1844, allocations: 73.92 kB / 450.6 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.1844, allocations: 24.86 kB / 450.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1844, allocations: 0 / 450.7 MB, free: 39.93 MB / 410.7 MB Notification: Performance of Templates: time 0.002538/0.187, allocations: 1.977 MB / 452.6 MB, free: 39.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test35.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.548517893999815]