Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.00109/0.00109, allocations: 80.34 kB / 20.67 MB, free: 3.887 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.001009/0.001009, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8833/0.8833, allocations: 177 MB / 204.1 MB, free: 5.762 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.2369/0.2369, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.338e-05, allocations: 2.281 kB / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.1727/0.1727, allocations: 1.9 MB / 444.1 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1737, allocations: 1.009 MB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.1738, allocations: 2.844 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1741, allocations: 41.97 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1744, allocations: 108.3 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1746, allocations: 96.72 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1747, allocations: 149.9 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1748, allocations: 25.45 kB / 445.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.1749, allocations: 79.94 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.175, allocations: 33.8 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.175, allocations: 5.625 kB / 445.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.83e-05/0.1751, allocations: 51.75 kB / 445.7 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1752, allocations: 29.38 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.1752, allocations: 32.52 kB / 445.8 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1754, allocations: 153 kB / 445.9 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1754, allocations: 3.938 kB / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1754, allocations: 0.5625 kB / 445.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1754, allocations: 0 / 445.9 MB, free: 42.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004517/0.1759, allocations: 417.5 kB / 446.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1759, allocations: 11.59 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.378e-05/0.1759, allocations: 37.61 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.176, allocations: 17.47 kB / 446.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1762, allocations: 165.7 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1762, allocations: 10.66 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.1762, allocations: 13.44 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1764, allocations: 131.4 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1764, allocations: 3.516 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1764, allocations: 8 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1764, allocations: 2.969 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.45e-05/0.1765, allocations: 53.61 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1769, allocations: 471.5 kB / 447.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.1771, allocations: 96.64 kB / 447.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.1771, allocations: 34.92 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1771, allocations: 2.875 kB / 447.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.1773, allocations: 114.4 kB / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1773, allocations: 2.906 kB / 447.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002437/0.1775, allocations: 149 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.1775, allocations: 51.41 kB / 447.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1776, allocations: 207.6 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.1777, allocations: 32.45 kB / 447.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.1777, allocations: 124.6 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1777, allocations: 32.58 kB / 448.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1777, allocations: 26.44 kB / 448.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.1778, allocations: 328.3 kB / 448.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1778, allocations: 32.22 kB / 448.5 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.1779, allocations: 63.89 kB / 448.5 MB, free: 40.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.532e-05/0.178, allocations: 104.4 kB / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.178, allocations: 0 / 448.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000144/0.1781, allocations: 146 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1781, allocations: 5.906 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1781, allocations: 0 / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1781, allocations: 2.844 kB / 448.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.1782, allocations: 23.94 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1782, allocations: 3 kB / 448.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.1782, allocations: 13.77 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1783, allocations: 6.219 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.672e-05/0.1783, allocations: 132.5 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.1783, allocations: 13.59 kB / 449 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.1785, allocations: 137.8 kB / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1785, allocations: 6.156 kB / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1785, allocations: 4 kB / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1785, allocations: 0 / 449.1 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.1786, allocations: 175.6 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1786, allocations: 2.812 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.1786, allocations: 11.69 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1786, allocations: 2.875 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1787, allocations: 4 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1787, allocations: 0 / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1787, allocations: 5.781 kB / 449.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1788, allocations: 203.4 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.1789, allocations: 10.88 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.1789, allocations: 3.031 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.768e-05/0.1789, allocations: 6.281 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1789, allocations: 10.12 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.179, allocations: 2.969 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.837e-05/0.179, allocations: 148.5 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.179, allocations: 0 / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.1792, allocations: 28.31 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008632/0.18, allocations: 1.054 MB / 450.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.1802, allocations: 83.02 kB / 450.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1802, allocations: 0 / 450.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.1802, allocations: 39.03 kB / 450.9 MB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1804, allocations: 43.86 kB / 450.9 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1815, allocations: 1.776 MB / 452.7 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.1816, allocations: 103.3 kB / 452.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.1816, allocations: 20.83 kB / 452.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.1817, allocations: 44.8 kB / 452.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1817, allocations: 0 / 452.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.2002, allocations: 4.683 MB / 457.5 MB, free: 36.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.15, allocations: 3.438 kB / 457.6 MB, free: 36.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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: 9.208274213597178]