Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001781/0.001781, allocations: 110.5 kB / 21.1 MB, free: 0.7695 MB / 14.72 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.002244/0.002244, allocations: 205 kB / 24.38 MB, free: 4.188 MB / 14.72 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 1.554/1.554, allocations: 230.2 MB / 257.7 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 178] 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.2554/0.2554, allocations: 46.88 MB / 361 MB, free: 4.59 MB / 286.1 MB " [Timeout remaining time 179] 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4963 GB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4542, allocations: 66.03 MB / 0.5607 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003681/0.4579, allocations: 1.776 MB / 0.5625 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.4601, allocations: 1.057 MB / 0.5635 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.4602, allocations: 7.938 kB / 0.5635 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.4607, allocations: 103.7 kB / 0.5636 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.4612, allocations: 123.5 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.4615, allocations: 83.72 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.4617, allocations: 143.6 kB / 0.5639 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4619, allocations: 15.42 kB / 0.564 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.4621, allocations: 67.75 kB / 0.564 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.4622, allocations: 75.73 kB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.4622, allocations: 15.92 kB / 0.5641 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4624, allocations: 63.92 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.4625, allocations: 35.86 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.4626, allocations: 47.66 kB / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.4629, allocations: 159.3 kB / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4629, allocations: 0 / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4629, allocations: 0 / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4629, allocations: 8 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008967/0.4638, allocations: 470.2 kB / 0.5649 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4639, allocations: 12.02 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.4639, allocations: 34.75 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.464, allocations: 20.84 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.4645, allocations: 225.1 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4645, allocations: 384 / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.4645, allocations: 4.375 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.4648, allocations: 77.86 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4648, allocations: 7.953 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4648, allocations: 7.984 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4648, allocations: 3.938 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4649, allocations: 35.97 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.4654, allocations: 336.6 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.4657, allocations: 78.47 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.4658, allocations: 24.84 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4658, allocations: 4 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.4661, allocations: 75.39 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4661, allocations: 0 / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001049/0.4671, allocations: 309.6 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.4672, allocations: 59.34 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.4675, allocations: 259.7 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.4675, allocations: 29.7 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4676, allocations: 116.1 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.4677, allocations: 47.78 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.4677, allocations: 37.7 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4679, allocations: 322.8 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.468, allocations: 43.98 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4681, allocations: 64.58 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.4683, allocations: 97.64 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4683, allocations: 0 / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002872/0.4686, allocations: 161.5 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4687, allocations: 8 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4687, allocations: 0 / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4687, allocations: 4.031 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4688, allocations: 31.98 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4688, allocations: 3.938 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.4688, allocations: 4 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.4689, allocations: 8 kB / 0.5673 GB, free: 13.67 MB / 414.1 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 (16): * Single equations (assignments): 16 * 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 0.0001684/0.469, allocations: 137.8 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.4691, allocations: 23.84 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.4695, allocations: 178 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4695, allocations: 11.94 kB / 0.5676 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4695, allocations: 3.938 kB / 0.5676 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4695, allocations: 3.984 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.4702, allocations: 0.4999 MB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4702, allocations: 0 / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.4703, allocations: 19.98 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4703, allocations: 0 / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4703, allocations: 8.062 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4703, allocations: 0 / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4703, allocations: 4 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.4707, allocations: 265 kB / 0.5684 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.4708, allocations: 89.02 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.4708, allocations: 8 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.4709, allocations: 15.92 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4709, allocations: 7.984 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.4709, allocations: 8 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4712, allocations: 189.5 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4712, allocations: 288 / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.4715, allocations: 39.88 kB / 0.5688 GB, free: 12.06 MB / 414.1 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.002589/0.4741, allocations: 1.208 MB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4743, allocations: 95.91 kB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4743, allocations: 0 / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4744, allocations: 47.98 kB / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4748, allocations: 35.31 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.4775, allocations: 1.997 MB / 0.5721 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.478, allocations: 0.7318 MB / 0.5728 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.773e-05/0.4781, allocations: 25.34 kB / 0.5728 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4782, allocations: 55.41 kB / 0.5728 GB, free: 7.91 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4782, allocations: 4 kB / 0.5728 GB, free: 7.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.5048, allocations: 4.445 MB / 0.5772 GB, free: 3.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.434, allocations: 11.11 kB / 0.5772 GB, free: 3.469 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_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_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.880502834916115]