Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009101/0.0009101, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.0009606/0.0009606, allocations: 160.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.8761/0.8761, allocations: 177 MB / 204.1 MB, free: 5.719 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.2446/0.2446, allocations: 34.24 MB / 294.8 MB, free: 0.6953 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.532e-05, allocations: 2.281 kB / 442.3 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.1708/0.1708, allocations: 1.723 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.1718, allocations: 0.9774 MB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.1718, allocations: 7.781 kB / 445 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1721, allocations: 102.8 kB / 445.1 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1723, allocations: 134.7 kB / 445.2 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001249/0.1725, allocations: 76.89 kB / 445.3 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.1726, allocations: 137.1 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.1727, allocations: 13.05 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.1727, allocations: 79.5 kB / 445.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.1728, allocations: 67.78 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1728, allocations: 5.719 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.1729, allocations: 65.77 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.1729, allocations: 28.84 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.173, allocations: 23.52 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1731, allocations: 156.8 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1731, allocations: 0 / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1731, allocations: 2.656 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1731, allocations: 3.312 kB / 445.8 MB, free: 42.76 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003524/0.1735, allocations: 382.4 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1735, allocations: 10.88 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.1735, allocations: 33.53 kB / 446.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1736, allocations: 19.34 kB / 446.3 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1737, allocations: 162.1 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1738, allocations: 10.02 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.1738, allocations: 3.156 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.1739, allocations: 66.89 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1739, allocations: 2.75 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1739, allocations: 7.453 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1739, allocations: 0.5 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.174, allocations: 46.2 kB / 446.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.1742, allocations: 290.2 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1744, allocations: 82.83 kB / 446.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.1744, allocations: 27.03 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1745, allocations: 3.188 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.456e-05/0.1745, allocations: 75.97 kB / 447 MB, free: 41.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.1745, allocations: 4 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004753/0.175, allocations: 294.2 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.175, allocations: 54.28 kB / 447.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1752, allocations: 261.6 kB / 447.6 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.1752, allocations: 33.3 kB / 447.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1752, allocations: 107.5 kB / 447.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1752, allocations: 43.09 kB / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1753, allocations: 29.16 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.1753, allocations: 333.6 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.1753, allocations: 37.02 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.1754, allocations: 57.06 kB / 448.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.1755, allocations: 95.14 kB / 448.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1755, allocations: 0 / 448.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001266/0.1756, allocations: 147.3 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.1756, allocations: 5.594 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1756, allocations: 3.328 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1756, allocations: 0 / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.1757, allocations: 27.36 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1757, allocations: 0 / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.1757, allocations: 2.75 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.1757, allocations: 6.688 kB / 448.5 MB, free: 40.98 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 (14): * Single equations (assignments): 14 * 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.378e-05/0.1758, allocations: 140.9 kB / 448.7 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.1758, allocations: 20.3 kB / 448.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.1759, allocations: 176 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1759, allocations: 6.781 kB / 448.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.176, allocations: 0 / 448.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.176, allocations: 0 / 448.9 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1762, allocations: 468.6 kB / 449.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1762, allocations: 2.688 kB / 449.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1763, allocations: 21.42 kB / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1763, allocations: 0 / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1763, allocations: 2.844 kB / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1763, allocations: 6.906 kB / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1763, allocations: 0 / 449.4 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.1764, allocations: 261.8 kB / 449.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.1764, allocations: 17.78 kB / 449.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1764, allocations: 10.88 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.1765, allocations: 10.72 kB / 449.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1765, allocations: 15.73 kB / 449.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.1765, allocations: 5.562 kB / 449.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.1766, allocations: 196.6 kB / 449.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1766, allocations: 0 / 449.9 MB, free: 40.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.1768, allocations: 34.25 kB / 449.9 MB, free: 40.07 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 (14): * Single equations (assignments): 12 * 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.0008781/0.1777, allocations: 1.251 MB / 451.2 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1778, allocations: 96.31 kB / 451.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1778, allocations: 0 / 451.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.1778, allocations: 50.77 kB / 451.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1781, allocations: 23.25 kB / 451.3 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.1792, allocations: 1.987 MB / 453.3 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.1793, allocations: 114 kB / 453.4 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.1793, allocations: 24.56 kB / 453.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.1794, allocations: 55.44 kB / 453.5 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1794, allocations: 0 / 453.5 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.1944, allocations: 5.073 MB / 458.6 MB, free: 36.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.144, allocations: 16.77 kB / 458.6 MB, free: 36.05 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.204947394318879]