Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001965/0.001965, allocations: 112.5 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.002333/0.002333, allocations: 212.3 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2245/0.2245, allocations: 46.93 MB / 360.8 MB, free: 4.199 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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 75.88 kB / 0.4963 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3912, allocations: 66.09 MB / 0.5608 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00326/0.3944, allocations: 1.745 MB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.3963, allocations: 1.053 MB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.3964, allocations: 0 / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3967, allocations: 43.77 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.397, allocations: 95.55 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.3972, allocations: 83.66 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3974, allocations: 99.75 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.3975, allocations: 17.75 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.3976, allocations: 47.78 kB / 0.5639 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.3976, allocations: 31.8 kB / 0.5639 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3977, allocations: 4 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.3978, allocations: 43.97 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.3978, allocations: 19.92 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.3979, allocations: 39.69 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.3981, allocations: 123.5 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3981, allocations: 0 / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3981, allocations: 0 / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3981, allocations: 0 / 0.5642 GB, free: 0.8398 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.0005783/0.3987, allocations: 361.4 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3987, allocations: 12.03 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.3988, allocations: 34.75 kB / 0.5645 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3988, allocations: 12.83 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.3991, allocations: 154.3 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3991, allocations: 4.375 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3991, allocations: 8.359 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3993, allocations: 57.8 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3993, allocations: 0 / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3993, allocations: 11.98 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3993, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.3994, allocations: 19.92 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3998, allocations: 259.9 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.3999, allocations: 58.69 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.4, allocations: 20.84 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4, allocations: 0 / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.4002, allocations: 71.31 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4002, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000536/0.4007, allocations: 181.5 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4008, allocations: 55.41 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.401, allocations: 214.2 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.401, allocations: 33.69 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.4011, allocations: 100.1 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.4011, allocations: 27.78 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.4012, allocations: 29.66 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4013, allocations: 326.8 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.4014, allocations: 20.17 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.4014, allocations: 45.7 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4016, allocations: 57.64 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4016, allocations: 0 / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.4018, allocations: 109.5 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4018, allocations: 4 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4018, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4018, allocations: 4 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4019, allocations: 20.02 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4019, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.402, allocations: 4 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.402, allocations: 3.938 kB / 0.5664 GB, free: 14.36 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.000115/0.4021, allocations: 135.1 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4021, allocations: 15.91 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.4024, allocations: 119.1 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4024, allocations: 0 / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4024, allocations: 4 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4024, allocations: 0 / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.4028, allocations: 370.3 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4028, allocations: 4 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.4029, allocations: 8 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4029, allocations: 0 / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4029, allocations: 0 / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4029, allocations: 3.938 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4029, allocations: 4.031 kB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4031, allocations: 208.2 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.4032, allocations: 11.94 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4032, allocations: 0 / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4033, allocations: 11.94 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.4033, allocations: 3.984 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4033, allocations: 8 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4034, allocations: 156.3 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4034, allocations: 0 / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.4037, allocations: 23.94 kB / 0.5674 GB, free: 13.2 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.002239/0.4059, allocations: 1.092 MB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.4061, allocations: 59.84 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4061, allocations: 0 / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.4062, allocations: 28.05 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4066, allocations: 36.73 kB / 0.5686 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.4084, allocations: 1.686 MB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4088, allocations: 0.7119 MB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.4088, allocations: 16.58 kB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.4089, allocations: 35.42 kB / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4089, allocations: 0 / 0.571 GB, free: 9.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.4389, allocations: 3.696 MB / 0.5746 GB, free: 5.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.39, allocations: 2.031 kB / 0.5746 GB, free: 5.902 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.571523648002767]