Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.0008561/0.0008561, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008143/0.0008143, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.9071/0.9071, allocations: 177 MB / 204.1 MB, free: 5.738 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.2492/0.2492, allocations: 34.24 MB / 294.8 MB, free: 0.6797 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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.986e-05, allocations: 2.281 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.1721/0.1722, allocations: 1.668 MB / 443.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1733, allocations: 0.9615 MB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.1734, allocations: 0 / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1737, allocations: 62.09 kB / 444.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1739, allocations: 97.77 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001104/0.174, allocations: 78.41 kB / 445.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.1741, allocations: 101 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1742, allocations: 7.25 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.1742, allocations: 52.53 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.1743, allocations: 23.05 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1743, allocations: 2.875 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.1744, allocations: 40.03 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1744, allocations: 23.19 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1744, allocations: 19.88 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1746, allocations: 123.6 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1746, allocations: 0 / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1746, allocations: 1.438 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1746, allocations: 0 / 445.5 MB, free: 42.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003946/0.175, allocations: 364.3 kB / 445.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.175, allocations: 15 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.289e-05/0.1751, allocations: 34.03 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.1751, allocations: 14.53 kB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1753, allocations: 159.4 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1753, allocations: 384 / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1754, allocations: 10.2 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1755, allocations: 51.5 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1755, allocations: 192 / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1755, allocations: 4.125 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1755, allocations: 0.5625 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.1755, allocations: 19.62 kB / 446.1 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1757, allocations: 161.5 kB / 446.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.1758, allocations: 49 kB / 446.3 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.1758, allocations: 23.08 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1758, allocations: 0 / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.176, allocations: 67.73 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.176, allocations: 2.781 kB / 446.4 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001746/0.1761, allocations: 109 kB / 446.5 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.1762, allocations: 51.41 kB / 446.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1763, allocations: 274.3 kB / 446.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-06/0.1763, allocations: 30.36 kB / 446.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.1763, allocations: 122.2 kB / 447 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.1763, allocations: 17.59 kB / 447 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.1764, allocations: 16.66 kB / 447 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.1764, allocations: 334.1 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.1764, allocations: 15.11 kB / 447.4 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.1765, allocations: 36.33 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.1765, allocations: 44.8 kB / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1765, allocations: 0 / 447.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.769e-05/0.1766, allocations: 94.41 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1766, allocations: 7.875 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1766, allocations: 3.938 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1766, allocations: 0 / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.1767, allocations: 12.03 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1767, allocations: 2.781 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.1767, allocations: 3.234 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1767, allocations: 5.594 kB / 447.6 MB, free: 41.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.812e-05/0.1768, allocations: 137.4 kB / 447.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1768, allocations: 20.12 kB / 447.7 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.1769, allocations: 104.9 kB / 447.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1769, allocations: 2.656 kB / 447.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1769, allocations: 0 / 447.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1769, allocations: 0 / 447.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.869e-05/0.177, allocations: 166 kB / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.177, allocations: 0 / 448 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.177, allocations: 8.125 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.177, allocations: 2.594 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.177, allocations: 3.938 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.177, allocations: 4 kB / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.177, allocations: 0 / 448 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.244e-05/0.1771, allocations: 123.1 kB / 448.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.1771, allocations: 14.69 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1771, allocations: 10.16 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.1772, allocations: 3.328 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.1772, allocations: 2.844 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1772, allocations: 2.906 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.1773, allocations: 208.7 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1773, allocations: 2.594 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.1774, allocations: 25.28 kB / 448.4 MB, free: 40.76 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: 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 (6): * Single equations (assignments): 4 * 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.0007834/0.1782, allocations: 0.9807 MB / 449.4 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1783, allocations: 44.11 kB / 449.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1783, allocations: 0 / 449.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.304e-05/0.1784, allocations: 25.36 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.1785, allocations: 32.47 kB / 449.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.1794, allocations: 1.693 MB / 451.2 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.644e-05/0.1795, allocations: 106.3 kB / 451.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.1795, allocations: 12.03 kB / 451.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1795, allocations: 41.62 kB / 451.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1795, allocations: 0 / 451.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.1955, allocations: 4.299 MB / 455.6 MB, free: 37.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/7.123, allocations: 7.094 kB / 455.7 MB, free: 37.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.200766754336655]