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.001345/0.001345, allocations: 111 kB / 20.48 MB, free: 1.297 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.001571/0.001571, allocations: 206.9 kB / 23.77 MB, free: 4.465 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2464/0.2464, allocations: 46.96 MB / 360.9 MB, free: 3.922 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.002328/0.002328, allocations: 87.86 kB / 0.4963 GB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3734, allocations: 66.08 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003429/0.3768, allocations: 1.741 MB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3786, allocations: 0.9749 MB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3787, allocations: 4 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.3791, allocations: 103.7 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.3795, allocations: 135.5 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3797, allocations: 75.73 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3799, allocations: 147.5 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.38, allocations: 15.41 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3802, allocations: 67.7 kB / 0.564 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.3803, allocations: 71.78 kB / 0.5641 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.3803, allocations: 7.938 kB / 0.5641 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3805, allocations: 67.92 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.3806, allocations: 43.89 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.3806, allocations: 31.75 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3809, allocations: 171.2 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3809, allocations: 0 / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3809, allocations: 0 / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3809, allocations: 0 / 0.5644 GB, free: 352 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006949/0.3816, allocations: 397.1 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3817, allocations: 8.031 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.3817, allocations: 34.75 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3818, allocations: 20.84 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.3821, allocations: 167.2 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3821, allocations: 8.359 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.3822, allocations: 4.375 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3824, allocations: 73.78 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3824, allocations: 7.953 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3824, allocations: 4 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.3824, allocations: 3.984 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3826, allocations: 43.91 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.3831, allocations: 287.9 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.3834, allocations: 74.53 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.3835, allocations: 36.89 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3835, allocations: 7.938 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.3837, allocations: 79.38 kB / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3837, allocations: 0 / 0.5656 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009727/0.3846, allocations: 317.4 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3847, allocations: 55.34 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.385, allocations: 267.7 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.385, allocations: 29.7 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3851, allocations: 124.1 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.3852, allocations: 47.56 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.3852, allocations: 29.72 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3854, allocations: 330.8 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.3855, allocations: 43.98 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3856, allocations: 60.22 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3858, allocations: 109.1 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3858, allocations: 0 / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003099/0.3861, allocations: 169.5 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3861, allocations: 4 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3861, allocations: 4 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3861, allocations: 4 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3862, allocations: 23.98 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3862, allocations: 3.938 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.3863, allocations: 11.98 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3863, allocations: 4 kB / 0.5671 GB, free: 13.3 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.0001442/0.3864, allocations: 141.8 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3865, allocations: 19.89 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.3869, allocations: 199 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3869, allocations: 0 / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3869, allocations: 3.938 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3869, allocations: 7.984 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.3876, allocations: 495 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3876, allocations: 0 / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.3877, allocations: 20 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3877, allocations: 0 / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3877, allocations: 12.05 kB / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3877, allocations: 0 / 0.568 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3877, allocations: 4 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3881, allocations: 281.5 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.3881, allocations: 23.84 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3881, allocations: 4 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.3882, allocations: 4 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3882, allocations: 7.984 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.3883, allocations: 15.98 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3885, allocations: 197.5 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3885, allocations: 8 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3887, allocations: 35.92 kB / 0.5686 GB, free: 11.76 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 (16): * Single equations (assignments): 14 * 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.002743/0.3915, allocations: 1.243 MB / 0.5698 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3918, allocations: 106.8 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3918, allocations: 0 / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3919, allocations: 55.91 kB / 0.5699 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3922, allocations: 31.95 kB / 0.57 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3946, allocations: 2.038 MB / 0.572 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.3947, allocations: 119.2 kB / 0.5721 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.3948, allocations: 37.33 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.3949, allocations: 55.41 kB / 0.5722 GB, free: 8.145 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3949, allocations: 0 / 0.5722 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/0.4287, allocations: 5.161 MB / 0.5772 GB, free: 3.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 11.92 kB / 0.5772 GB, free: 3.008 MB / 414.1 MB " [Timeout remaining time 648] (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.1.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: 14.721068715211004]