Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001697/0.001697, allocations: 110 kB / 20.43 MB, free: 1.453 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.002266/0.002266, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.2346/0.2346, allocations: 46.92 MB / 360.8 MB, free: 4.16 MB / 286.1 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 83.88 kB / 0.4963 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4566, allocations: 66.09 MB / 0.5608 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003847/0.4604, allocations: 1.741 MB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.4633, allocations: 1.738 MB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.4634, allocations: 7.938 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.4637, allocations: 35.77 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.464, allocations: 95.59 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.4642, allocations: 79.67 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4644, allocations: 111.6 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4645, allocations: 13.81 kB / 0.5645 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4647, allocations: 55.78 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4648, allocations: 39.83 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4649, allocations: 8 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.4651, allocations: 107.9 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.4651, allocations: 23.92 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.4652, allocations: 31.75 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.4655, allocations: 171.4 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4655, allocations: 4 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4655, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4655, allocations: 0 / 0.565 GB, free: 15.96 MB / 414.1 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.0006916/0.4662, allocations: 357.5 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4663, allocations: 8.031 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.4663, allocations: 30.75 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.4664, allocations: 16.84 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.4667, allocations: 150.7 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4667, allocations: 8.359 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4668, allocations: 7.938 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.467, allocations: 75.33 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.467, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.467, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.467, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.4671, allocations: 19.98 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.4675, allocations: 255.9 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4677, allocations: 66.61 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.4677, allocations: 20.84 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.4677, allocations: 0 / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.4679, allocations: 67.33 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4679, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005682/0.4685, allocations: 173.4 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.4686, allocations: 85.11 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.4688, allocations: 166.4 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4688, allocations: 25.7 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.4688, allocations: 96.14 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.4689, allocations: 31.73 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.4689, allocations: 21.72 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4691, allocations: 322.8 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.4691, allocations: 23.98 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.4692, allocations: 46.5 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4693, allocations: 62.08 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4693, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.4695, allocations: 97.56 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4695, allocations: 4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.4695, allocations: 8 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4696, allocations: 4.062 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.4697, allocations: 15.98 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4697, allocations: 0 / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.4697, allocations: 11.94 kB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4697, allocations: 4 kB / 0.5671 GB, free: 13.51 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 (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 0.0001136/0.4698, allocations: 125.7 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.4699, allocations: 11.95 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.4701, allocations: 110.4 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4701, allocations: 4 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4701, allocations: 0 / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4701, allocations: 3.938 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.4706, allocations: 366.3 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4706, allocations: 4 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.4706, allocations: 4 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4706, allocations: 11.88 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.4706, allocations: 0 / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4706, allocations: 0 / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4706, allocations: 8.344 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.4709, allocations: 200.3 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.4709, allocations: 8.125 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.4709, allocations: 11.94 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.471, allocations: 3.938 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.471, allocations: 11.98 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.4711, allocations: 7.984 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.4712, allocations: 127.9 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4712, allocations: 0 / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.4715, allocations: 51.86 kB / 0.5682 GB, free: 12.37 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002774/0.4743, allocations: 1.181 MB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.4745, allocations: 59.91 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4745, allocations: 0 / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.4746, allocations: 32.05 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.475, allocations: 31.06 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.4771, allocations: 1.593 MB / 0.571 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4775, allocations: 0.7041 MB / 0.5717 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.103e-05/0.4776, allocations: 17.27 kB / 0.5717 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.4776, allocations: 39.41 kB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4776, allocations: 0 / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.5139, allocations: 4.206 MB / 0.5758 GB, free: 4.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.42, allocations: 3.938 kB / 0.5758 GB, free: 4.562 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.706732309001382]