Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.000837/0.000837, allocations: 80.34 kB / 20.67 MB, free: 3.883 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.0008449/0.0008449, allocations: 156.9 kB / 23.95 MB, free: 0.6055 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.8922/0.8922, allocations: 177 MB / 204.1 MB, free: 5.734 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.2373/0.2373, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.914e-05, allocations: 14.16 kB / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.1773/0.1773, allocations: 1.714 MB / 444 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1785, allocations: 0.9784 MB / 444.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.1786, allocations: 0 / 444.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.1789, allocations: 46.58 kB / 445 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1792, allocations: 93.53 kB / 445.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1793, allocations: 74.42 kB / 445.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1795, allocations: 111.8 kB / 445.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.1796, allocations: 13.75 kB / 445.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.1797, allocations: 54.3 kB / 445.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.1797, allocations: 31.02 kB / 445.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1797, allocations: 2.875 kB / 445.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.1798, allocations: 44.91 kB / 445.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.1799, allocations: 21.03 kB / 445.4 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.1799, allocations: 23.83 kB / 445.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.18, allocations: 116 kB / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1801, allocations: 0 / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1801, allocations: 3.562 kB / 445.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1801, allocations: 0 / 445.6 MB, free: 42.34 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.0003776/0.1804, allocations: 354.8 kB / 445.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1805, allocations: 11.5 kB / 445.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.348e-05/0.1805, allocations: 34.03 kB / 446 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.1805, allocations: 10.64 kB / 446 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1807, allocations: 161.7 kB / 446.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1807, allocations: 384 / 446.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1808, allocations: 6.469 kB / 446.1 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1809, allocations: 55.03 kB / 446.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1809, allocations: 3.031 kB / 446.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1809, allocations: 4.125 kB / 446.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1809, allocations: 0 / 446.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.181, allocations: 22.44 kB / 446.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1813, allocations: 252.8 kB / 446.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1815, allocations: 62.58 kB / 446.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.1815, allocations: 24.28 kB / 446.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1815, allocations: 1.172 kB / 446.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1817, allocations: 73.91 kB / 446.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1817, allocations: 0 / 446.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000513/0.1822, allocations: 179.9 kB / 446.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1822, allocations: 55.39 kB / 446.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1824, allocations: 219.6 kB / 447.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.1824, allocations: 26.23 kB / 447.1 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1824, allocations: 108.4 kB / 447.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1825, allocations: 27.45 kB / 447.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1825, allocations: 27.47 kB / 447.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.1826, allocations: 320.2 kB / 447.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.1826, allocations: 25.41 kB / 447.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.721e-05/0.1827, allocations: 36.56 kB / 447.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.1827, allocations: 64.88 kB / 447.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1827, allocations: 3.656 kB / 447.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.1829, allocations: 104.2 kB / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1829, allocations: 9.031 kB / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1829, allocations: 0 / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1829, allocations: 6.906 kB / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.183, allocations: 11.81 kB / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.183, allocations: 0 / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.183, allocations: 9.766 kB / 447.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1831, allocations: 2.969 kB / 447.8 MB, free: 40.71 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 8.057e-05/0.1831, allocations: 139.7 kB / 448 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.1831, allocations: 12.83 kB / 448 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.1833, allocations: 128.9 kB / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1833, allocations: 0 / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1833, allocations: 0 / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1833, allocations: 0 / 448.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1836, allocations: 378.7 kB / 448.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1836, allocations: 0 / 448.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.1836, allocations: 9.219 kB / 448.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1836, allocations: 4.031 kB / 448.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1836, allocations: 6.281 kB / 448.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1836, allocations: 0 / 448.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1836, allocations: 3 kB / 448.5 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1837, allocations: 215.4 kB / 448.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.1838, allocations: 12.31 kB / 448.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1838, allocations: 5.75 kB / 448.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.1838, allocations: 0 / 448.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1838, allocations: 16.81 kB / 448.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1838, allocations: 2.594 kB / 448.7 MB, free: 40.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.1839, allocations: 162.2 kB / 448.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1839, allocations: 0 / 448.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.1841, allocations: 30.03 kB / 448.9 MB, free: 40.02 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.0009682/0.1851, allocations: 1.132 MB / 450.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1852, allocations: 59.7 kB / 450.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1852, allocations: 0 / 450.1 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.1852, allocations: 36.28 kB / 450.2 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1855, allocations: 25.44 kB / 450.2 MB, free: 39.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.1864, allocations: 1.705 MB / 451.9 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.1865, allocations: 105.7 kB / 452 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.1865, allocations: 18.22 kB / 452 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1866, allocations: 37.47 kB / 452 MB, free: 37.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1866, allocations: 0 / 452 MB, free: 37.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.2033, allocations: 4.341 MB / 456.4 MB, free: 36.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.365, allocations: 3.094 kB / 456.4 MB, free: 36.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_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_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.448355448432267]