Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9041/0.9041, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.585e-05, allocations: 8.75 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002546/0.002571, allocations: 1.669 MB / 441.3 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.00392, allocations: 0.9586 MB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004025, allocations: 3.938 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.004388, allocations: 51.75 kB / 442.3 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.004748, allocations: 107.5 kB / 442.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004926, allocations: 79.61 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005102, allocations: 95.69 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.005151, allocations: 4.234 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.005244, allocations: 59.77 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.00532, allocations: 15.92 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.005336, allocations: 4 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.005418, allocations: 43.92 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.005479, allocations: 31.84 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.005523, allocations: 15.92 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.005722, allocations: 119.6 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005724, allocations: 4 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005726, allocations: 0 / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.00573, allocations: 0 / 442.9 MB, free: 0.9023 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.0004916/0.006222, allocations: 365.3 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.006265, allocations: 12.03 kB / 443.3 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.006294, allocations: 34.73 kB / 443.3 MB, free: 472 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.006326, allocations: 16.89 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.006559, allocations: 158.5 kB / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.006571, allocations: 384 / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.00658, allocations: 4.375 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.006695, allocations: 53.98 kB / 443.5 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.006703, allocations: 7.938 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.006711, allocations: 0 / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.006715, allocations: 0 / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.006766, allocations: 19.92 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1689/0.1756, allocations: 156.8 kB / 443.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1758, allocations: 50.08 kB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.1759, allocations: 18.88 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1759, allocations: 6.094 kB / 443.8 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.176, allocations: 72.11 kB / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.344e-06/0.176, allocations: 0 / 443.9 MB, free: 46.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002348/0.1763, allocations: 104.5 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1763, allocations: 51.41 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1765, allocations: 274.8 kB / 444.3 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.1765, allocations: 30.08 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.1765, allocations: 113.8 kB / 444.4 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1766, allocations: 21.89 kB / 444.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1766, allocations: 18.91 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.1766, allocations: 332.8 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.1767, allocations: 15.61 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.1767, allocations: 32.52 kB / 444.8 MB, free: 45.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.1768, allocations: 50.23 kB / 444.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1768, allocations: 0 / 444.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.491e-05/0.1769, allocations: 85.98 kB / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1769, allocations: 9.219 kB / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1769, allocations: 0 / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1769, allocations: 9 kB / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.688e-05/0.177, allocations: 8.812 kB / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.177, allocations: 0 / 445 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.177, allocations: 10.12 kB / 445 MB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.177, allocations: 6.125 kB / 445 MB, free: 45.72 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.439e-05/0.1771, allocations: 135.2 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1771, allocations: 17.14 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.1772, allocations: 98.34 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1772, allocations: 6.156 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1772, allocations: 3.656 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1772, allocations: 3.188 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.009e-05/0.1773, allocations: 168.4 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1773, allocations: 2.844 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.1773, allocations: 4.344 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1773, allocations: 3.328 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1773, allocations: 2.844 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1774, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1774, allocations: 5.281 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.517e-05/0.1774, allocations: 117 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.1775, allocations: 17.19 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1775, allocations: 6.062 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.1775, allocations: 0 / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1775, allocations: 10.02 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1775, allocations: 6.281 kB / 445.6 MB, free: 45.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.225e-05/0.1776, allocations: 212.7 kB / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1776, allocations: 0 / 445.8 MB, free: 45.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.1778, allocations: 20.84 kB / 445.8 MB, free: 45.25 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.0008125/0.1786, allocations: 0.9897 MB / 446.8 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.1787, allocations: 50.59 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1787, allocations: 0 / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.1788, allocations: 18.41 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.179, allocations: 21.75 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.18, allocations: 1.693 MB / 448.6 MB, free: 43.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.18, allocations: 119.8 kB / 448.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.366e-05/0.1801, allocations: 15.14 kB / 448.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.1801, allocations: 41.94 kB / 448.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1801, allocations: 0 / 448.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.1976, allocations: 4.324 MB / 453.1 MB, free: 41.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.247, allocations: 2.938 kB / 453.1 MB, free: 41.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.352510644122958]