Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0008709/0.0008709, 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.00088/0.00088, 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.9361/0.9361, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.253/0.253, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.247e-05, allocations: 5.234 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.1569/0.1569, allocations: 1.701 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.158, allocations: 0.9812 MB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.1581, allocations: 0 / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1583, allocations: 51.8 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.1586, allocations: 103.8 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.1587, allocations: 74.66 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1589, allocations: 113.8 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.159, allocations: 13.22 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.159, allocations: 51.67 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.1591, allocations: 31.12 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1591, allocations: 2.469 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.1592, allocations: 44.73 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.1593, allocations: 33.38 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1593, allocations: 23.53 kB / 445.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1595, allocations: 133.4 kB / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1595, allocations: 0 / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1595, allocations: 0 / 445.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1595, allocations: 0 / 445.6 MB, free: 42.94 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.0004072/0.1599, allocations: 376.8 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1599, allocations: 10.78 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.217e-05/0.16, allocations: 37.83 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.16, allocations: 14.06 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1602, allocations: 159.9 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1602, allocations: 3.125 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1602, allocations: 3.422 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.1603, allocations: 58.62 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1603, allocations: 4 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1603, allocations: 0 / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1603, allocations: 6.625 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.1604, allocations: 21.53 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.1606, allocations: 268.8 kB / 446.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.1607, allocations: 59.02 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1608, allocations: 17.58 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1608, allocations: 0 / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.827e-05/0.1609, allocations: 80.17 kB / 446.7 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.1609, allocations: 7.938 kB / 446.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003563/0.1612, allocations: 184.8 kB / 446.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.1613, allocations: 57.97 kB / 447 MB, free: 41.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.1614, allocations: 272.6 kB / 447.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1614, allocations: 29.64 kB / 447.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1614, allocations: 119.8 kB / 447.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1615, allocations: 22.08 kB / 447.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1615, allocations: 22.34 kB / 447.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.36e-05/0.1615, allocations: 331.2 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.479e-05/0.1616, allocations: 28.45 kB / 447.8 MB, free: 41.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.1616, allocations: 38.19 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.1617, allocations: 65.06 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1617, allocations: 0 / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.1618, allocations: 102.8 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1618, allocations: 5.75 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.1618, allocations: 2.938 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1618, allocations: 0 / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.1619, allocations: 22.88 kB / 448 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1619, allocations: 9.094 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.1619, allocations: 2.781 kB / 448 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1619, allocations: 2.938 kB / 448 MB, free: 41.26 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.723e-05/0.162, allocations: 136.9 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.162, allocations: 17.7 kB / 448.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.1621, allocations: 125.2 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1621, allocations: 5.812 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1621, allocations: 1.062 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1621, allocations: 3.281 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.1624, allocations: 389.1 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1624, allocations: 0 / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.1624, allocations: 8.781 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1624, allocations: 2.844 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1624, allocations: 3.328 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1624, allocations: 5.969 kB / 448.7 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1624, allocations: 3.938 kB / 448.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1625, allocations: 216.2 kB / 448.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.1625, allocations: 17.66 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1626, allocations: 4.031 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.1626, allocations: 6.812 kB / 448.9 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1626, allocations: 10.19 kB / 448.9 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1626, allocations: 9.172 kB / 449 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.1627, allocations: 210.8 kB / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1627, allocations: 0 / 449.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.1629, allocations: 31.06 kB / 449.2 MB, free: 40.42 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.0009137/0.1638, allocations: 1.144 MB / 450.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1639, allocations: 56.06 kB / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1639, allocations: 0 / 450.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.164, allocations: 32.12 kB / 450.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1642, allocations: 33.61 kB / 450.5 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1653, allocations: 1.849 MB / 452.3 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.1653, allocations: 114.4 kB / 452.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.597e-05/0.1654, allocations: 15.75 kB / 452.4 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.1654, allocations: 41.61 kB / 452.5 MB, free: 38.08 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1654, allocations: 4 kB / 452.5 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.1819, allocations: 4.609 MB / 457.1 MB, free: 36.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/7.085, allocations: 14.39 kB / 457.1 MB, free: 36.64 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498107 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.236352438107133]