Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001319/0.001319, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001456/0.001456, allocations: 217.2 kB / 24.54 MB, free: 4.02 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.432/1.432, allocations: 230.3 MB / 258 MB, free: 8.223 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.2456/0.2456, allocations: 46.88 MB / 361.3 MB, free: 4.453 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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 79.88 kB / 0.4966 GB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3833, allocations: 66.03 MB / 0.5611 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003411/0.3867, allocations: 1.745 MB / 0.5628 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3888, allocations: 1.045 MB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3889, allocations: 3.938 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.3893, allocations: 43.77 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.3896, allocations: 95.59 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.3899, allocations: 83.66 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.3902, allocations: 111.6 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3903, allocations: 5.969 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3904, allocations: 39.8 kB / 0.5642 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.3905, allocations: 39.83 kB / 0.5642 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3905, allocations: 8 kB / 0.5643 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3906, allocations: 39.98 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.3907, allocations: 19.91 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.3907, allocations: 35.69 kB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.391, allocations: 127.4 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.391, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.391, allocations: 0 / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.391, allocations: 0 / 0.5645 GB, free: 1.188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000686/0.3917, allocations: 422.7 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3917, allocations: 12.03 kB / 0.5649 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.3918, allocations: 38.67 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3918, allocations: 12.89 kB / 0.5649 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.3921, allocations: 216.8 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3922, allocations: 4.312 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3922, allocations: 4.375 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3923, allocations: 57.8 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3923, allocations: 0 / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3923, allocations: 0 / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3924, allocations: 4 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.3924, allocations: 23.92 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3928, allocations: 284.8 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.393, allocations: 62.61 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.3931, allocations: 16.86 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3931, allocations: 4 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.3932, allocations: 75.38 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3932, allocations: 0 / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.3938, allocations: 169.4 kB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3938, allocations: 51.41 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.394, allocations: 198.3 kB / 0.5661 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3941, allocations: 29.7 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.3941, allocations: 100.1 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3942, allocations: 27.78 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3942, allocations: 25.72 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3944, allocations: 326.8 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.3944, allocations: 23.92 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.3945, allocations: 37.7 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3946, allocations: 65.69 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3946, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.3948, allocations: 105.5 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3948, allocations: 4 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3948, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3949, allocations: 4 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.3949, allocations: 15.98 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.395, allocations: 0 / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.395, allocations: 8.031 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.395, allocations: 0 / 0.5668 GB, free: 14.56 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.0001165/0.3951, allocations: 139.2 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.3952, allocations: 11.91 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3954, allocations: 119.1 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3954, allocations: 4 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3954, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3954, allocations: 3.984 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.3959, allocations: 399.3 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3959, allocations: 0 / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.396, allocations: 19.86 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.396, allocations: 0 / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.396, allocations: 0 / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.396, allocations: 8.312 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.396, allocations: 0 / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3963, allocations: 208.3 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.3963, allocations: 85.06 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3964, allocations: 7.984 kB / 0.5678 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.3964, allocations: 7.938 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.3965, allocations: 7.984 kB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3965, allocations: 4 kB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.3966, allocations: 148.2 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 3.938 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3969, allocations: 31.94 kB / 0.5679 GB, free: 13.26 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.00221/0.3991, allocations: 1.075 MB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3993, allocations: 59.84 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3993, allocations: 0 / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.3994, allocations: 32.08 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3998, allocations: 31.69 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.4017, allocations: 1.661 MB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.402, allocations: 0.7041 MB / 0.5714 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.648e-05/0.4021, allocations: 16.97 kB / 0.5714 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.4022, allocations: 35.42 kB / 0.5715 GB, free: 9.672 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4022, allocations: 0 / 0.5715 GB, free: 9.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.429, allocations: 3.511 MB / 0.5749 GB, free: 6.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.415, allocations: 6.797 kB / 0.5749 GB, free: 6.16 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.44543620897457]