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.001291/0.001291, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.001455/0.001455, allocations: 213.8 kB / 23.77 MB, free: 4.332 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.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2476/0.2476, allocations: 46.94 MB / 360.8 MB, free: 3.887 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.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 0.002409/0.002409, allocations: 84.19 kB / 0.4963 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3663, allocations: 66.09 MB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003401/0.3697, allocations: 1.726 MB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3716, allocations: 0.9748 MB / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.3717, allocations: 0 / 0.5635 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.372, allocations: 103.7 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3724, allocations: 131.5 kB / 0.5637 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.3726, allocations: 83.66 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3729, allocations: 135.6 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.373, allocations: 13.8 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3731, allocations: 59.78 kB / 0.564 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3732, allocations: 75.72 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3732, allocations: 4 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3734, allocations: 63.97 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.3735, allocations: 35.84 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.3735, allocations: 35.67 kB / 0.5642 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.3738, allocations: 163.3 kB / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3738, allocations: 0 / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3738, allocations: 0 / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3738, allocations: 0 / 0.5643 GB, free: 368 kB / 398.1 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.0007396/0.3746, allocations: 393.2 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3746, allocations: 12.03 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.3747, allocations: 38.73 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.3747, allocations: 16.84 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.3751, allocations: 159.2 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3751, allocations: 4.375 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3751, allocations: 8.375 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3753, allocations: 73.78 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3753, allocations: 3.984 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3754, allocations: 0 / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3754, allocations: 0 / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3755, allocations: 43.89 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.376, allocations: 287.8 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3763, allocations: 74.53 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.3764, allocations: 24.84 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3764, allocations: 12.03 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.3766, allocations: 75.38 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3766, allocations: 0 / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009676/0.3776, allocations: 289 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3776, allocations: 55.39 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.3779, allocations: 267.7 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.3779, allocations: 33.7 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.378, allocations: 112.1 kB / 0.5662 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.3781, allocations: 43.77 kB / 0.5663 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.3781, allocations: 37.7 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3783, allocations: 326.8 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3784, allocations: 35.98 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3785, allocations: 53.62 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3787, allocations: 93.7 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3787, allocations: 0 / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002771/0.379, allocations: 149.5 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.379, allocations: 4 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.379, allocations: 8.031 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.379, allocations: 4 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.3791, allocations: 19.98 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3791, allocations: 4.703 kB / 0.567 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.3792, allocations: 7.891 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3792, allocations: 11.98 kB / 0.567 GB, free: 13.42 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 (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 0.0001391/0.3793, allocations: 137.8 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3793, allocations: 15.91 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3797, allocations: 174.4 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3797, allocations: 7.984 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3797, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.3797, allocations: 3.938 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.3804, allocations: 463.1 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3804, allocations: 4 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.3804, allocations: 23.92 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3805, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3805, allocations: 4 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3805, allocations: 0 / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3805, allocations: 64 / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3808, allocations: 269.1 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3809, allocations: 19.84 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3809, allocations: 7.984 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.381, allocations: 4 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.381, allocations: 7.984 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.381, allocations: 8 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.3812, allocations: 197.5 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3812, allocations: 0 / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.3815, allocations: 35.94 kB / 0.5683 GB, free: 11.97 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.002691/0.3842, allocations: 1.247 MB / 0.5695 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3845, allocations: 91.89 kB / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3845, allocations: 0 / 0.5696 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3846, allocations: 47.86 kB / 0.5697 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.385, allocations: 31.75 kB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.3874, allocations: 1.98 MB / 0.5716 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.3875, allocations: 110.6 kB / 0.5717 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.3876, allocations: 25.06 kB / 0.5718 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.3877, allocations: 59.39 kB / 0.5718 GB, free: 8.449 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3877, allocations: 3.938 kB / 0.5718 GB, free: 8.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.4223, allocations: 5.01 MB / 0.5767 GB, free: 3.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.77, allocations: 14.73 kB / 0.5767 GB, free: 3.461 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/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: 14.92049160899478]