Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.002156/0.002156, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001176/0.001176, 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.9184/0.9184, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2633/0.2633, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317e-05/1.456e-05, allocations: 9.234 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.1752/0.1752, allocations: 1.721 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1762, allocations: 0.9865 MB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.1763, allocations: 2.75 kB / 445 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1766, allocations: 108.6 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1768, allocations: 128.9 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.1769, allocations: 82.8 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.177, allocations: 117.5 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.1771, allocations: 17.5 kB / 445.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.1772, allocations: 69.36 kB / 445.5 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.1773, allocations: 66.83 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1773, allocations: 3.125 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.1774, allocations: 63.98 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.1774, allocations: 29.81 kB / 445.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.1775, allocations: 20.64 kB / 445.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1776, allocations: 145.2 kB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1776, allocations: 5.781 kB / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1776, allocations: 0 / 445.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1776, allocations: 0 / 445.8 MB, free: 42.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003888/0.178, allocations: 379.8 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.178, allocations: 11.31 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.088e-05/0.1781, allocations: 30.75 kB / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1781, allocations: 16.97 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1783, allocations: 168.3 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1783, allocations: 2.969 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1783, allocations: 3.125 kB / 446.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1784, allocations: 65.34 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1784, allocations: 2.5 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.1784, allocations: 0 / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1784, allocations: 2.344 kB / 446.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.1785, allocations: 34.98 kB / 446.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.1788, allocations: 278.1 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1789, allocations: 60.72 kB / 446.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.179, allocations: 22.8 kB / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.179, allocations: 0 / 446.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.1791, allocations: 73.23 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.1791, allocations: 2.938 kB / 447 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005105/0.1796, allocations: 251.9 kB / 447.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.1796, allocations: 55.97 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1798, allocations: 259.4 kB / 447.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1798, allocations: 31.95 kB / 447.5 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.1798, allocations: 109.3 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1798, allocations: 35.91 kB / 447.7 MB, free: 41.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.1798, allocations: 27.3 kB / 447.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.1799, allocations: 334.7 kB / 448 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.1799, allocations: 27.94 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.18, allocations: 45.8 kB / 448.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.18, allocations: 84.06 kB / 448.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.18, allocations: 0 / 448.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001149/0.1802, allocations: 138.2 kB / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1802, allocations: 9.531 kB / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1802, allocations: 0 / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1802, allocations: 5.234 kB / 448.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.1802, allocations: 20.89 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1802, allocations: 3.5 kB / 448.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.1803, allocations: 10.91 kB / 448.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1803, allocations: 6.844 kB / 448.4 MB, free: 41.15 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 (13): * Single equations (assignments): 13 * 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.864e-05/0.1803, allocations: 136.7 kB / 448.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1803, allocations: 16.16 kB / 448.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1805, allocations: 158.4 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1805, allocations: 0 / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1805, allocations: 2.875 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1805, allocations: 3.234 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1808, allocations: 431.6 kB / 449.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1808, allocations: 4.062 kB / 449.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.1808, allocations: 15.47 kB / 449.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1808, allocations: 3.938 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1808, allocations: 11.06 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1808, allocations: 3.234 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1808, allocations: 2.75 kB / 449.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.181, allocations: 236.6 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.181, allocations: 14.81 kB / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.181, allocations: 7.062 kB / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.181, allocations: 9.453 kB / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1811, allocations: 14.17 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1811, allocations: 8 kB / 449.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.1811, allocations: 190.5 kB / 449.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1811, allocations: 0 / 449.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.1813, allocations: 38.17 kB / 449.7 MB, free: 40.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009257/0.1822, allocations: 1.229 MB / 450.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1824, allocations: 83.73 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1824, allocations: 4.062 kB / 451 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.1824, allocations: 38.59 kB / 451 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.1826, allocations: 34.81 kB / 451 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1838, allocations: 1.9 MB / 452.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.1838, allocations: 113.3 kB / 453.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.1839, allocations: 23.05 kB / 453.1 MB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1839, allocations: 53.66 kB / 453.1 MB, free: 37.81 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1839, allocations: 3.938 kB / 453.1 MB, free: 37.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1988, allocations: 4.843 MB / 458 MB, free: 36.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.956, allocations: 9.969 kB / 458 MB, free: 36.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.08617277815938]