Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008826/0.0008826, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008619/0.0008619, allocations: 156.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.9334/0.9334, allocations: 177 MB / 204.1 MB, free: 5.754 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.245/0.245, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.302e-05, allocations: 2.281 kB / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.1755/0.1755, allocations: 1.708 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.1764, allocations: 0.982 MB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.1765, allocations: 0 / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1767, allocations: 51.33 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1769, allocations: 105.6 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.1771, allocations: 78.88 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1772, allocations: 111.9 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.1773, allocations: 11.06 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1773, allocations: 54.17 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.1774, allocations: 29.48 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1774, allocations: 6.125 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.1775, allocations: 38.88 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.1775, allocations: 37.81 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1775, allocations: 19.7 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.1777, allocations: 136.2 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1777, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1777, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1777, allocations: 0 / 445.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003441/0.178, allocations: 371.1 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1781, allocations: 12.44 kB / 446 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.975e-05/0.1781, allocations: 34.62 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1781, allocations: 14.47 kB / 446 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1783, allocations: 168.5 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.1783, allocations: 2.75 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1783, allocations: 3.406 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.1784, allocations: 61.14 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1784, allocations: 192 / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1784, allocations: 4.125 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1784, allocations: 0 / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.1785, allocations: 24.39 kB / 446.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.1787, allocations: 262.6 kB / 446.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/0.1788, allocations: 59.91 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.1788, allocations: 26.81 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1788, allocations: 0 / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.453e-05/0.1789, allocations: 75.69 kB / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.21e-07/0.1789, allocations: 0 / 446.7 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003316/0.1793, allocations: 192.6 kB / 446.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.1793, allocations: 58.09 kB / 446.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1794, allocations: 271.7 kB / 447.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.1794, allocations: 30.2 kB / 447.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.1795, allocations: 112.1 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1795, allocations: 28.59 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.1795, allocations: 26.52 kB / 447.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.972e-05/0.1795, allocations: 326.2 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.1796, allocations: 21.58 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.1796, allocations: 34.84 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.1797, allocations: 71.42 kB / 447.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1797, allocations: 0.8438 kB / 447.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.111e-05/0.1797, allocations: 113.3 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1798, allocations: 5.75 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1798, allocations: 0 / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1798, allocations: 6.297 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.1798, allocations: 11.72 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1798, allocations: 0 / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.1799, allocations: 6.328 kB / 448 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1799, allocations: 2.875 kB / 448 MB, free: 41.16 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 (10): * Single equations (assignments): 10 * 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.099e-05/0.1799, allocations: 145 kB / 448.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.1799, allocations: 21.58 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.18, allocations: 129 kB / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.18, allocations: 0 / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1801, allocations: 0 / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1801, allocations: 4.031 kB / 448.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1803, allocations: 381.7 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1803, allocations: 3.422 kB / 448.7 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.1803, allocations: 19.31 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1803, allocations: 4.031 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1803, allocations: 2.719 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1803, allocations: 3.062 kB / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1803, allocations: 0 / 448.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.1804, allocations: 218.5 kB / 448.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.1804, allocations: 16.83 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1804, allocations: 0 / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.1805, allocations: 6.938 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1805, allocations: 10.23 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1805, allocations: 3.094 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.402e-05/0.1806, allocations: 217.4 kB / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1806, allocations: 0 / 449.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.1807, allocations: 25.31 kB / 449.2 MB, free: 40.33 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: 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 (9): * Single equations (assignments): 7 * 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.0008071/0.1815, allocations: 1.137 MB / 450.3 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1816, allocations: 56.98 kB / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.1816, allocations: 0 / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.1817, allocations: 34.86 kB / 450.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.1819, allocations: 30.42 kB / 450.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.1828, allocations: 1.848 MB / 452.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.1829, allocations: 111.5 kB / 452.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.189e-05/0.1829, allocations: 9.641 kB / 452.4 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.183, allocations: 48.73 kB / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.183, allocations: 2.719 kB / 452.4 MB, free: 37.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.1984, allocations: 4.616 MB / 457.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.15, allocations: 3.094 kB / 457.1 MB, free: 36.52 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.30178960878402]