Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 214.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2578/0.2578, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4329, allocations: 65.48 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003549/0.4365, allocations: 1.735 MB / 0.5588 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.4385, allocations: 1.049 MB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.4386, allocations: 3.938 kB / 0.5598 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.4389, allocations: 47.78 kB / 0.5599 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.4393, allocations: 99.53 kB / 0.56 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.4395, allocations: 75.72 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4397, allocations: 103.7 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.4398, allocations: 9.828 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.4399, allocations: 55.7 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.994e-05/0.44, allocations: 23.86 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.44, allocations: 4 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4401, allocations: 43.98 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.4402, allocations: 31.84 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.4402, allocations: 35.73 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4405, allocations: 127.4 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4405, allocations: 0 / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4405, allocations: 0 / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4405, allocations: 0 / 0.5604 GB, free: 4.312 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.0006164/0.4411, allocations: 349.5 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4412, allocations: 12.03 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.4412, allocations: 34.75 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.4412, allocations: 8.891 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.4416, allocations: 166.2 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4416, allocations: 8.359 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4416, allocations: 3.938 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.4418, allocations: 53.67 kB / 0.5611 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4418, allocations: 4 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4418, allocations: 0 / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4418, allocations: 4 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.4419, allocations: 23.98 kB / 0.5611 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.4424, allocations: 263.9 kB / 0.5613 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.4426, allocations: 50.69 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.4427, allocations: 20.84 kB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4427, allocations: 3.938 kB / 0.5614 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.4429, allocations: 71.33 kB / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4429, allocations: 0 / 0.5615 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006516/0.4435, allocations: 185.3 kB / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.4436, allocations: 55.34 kB / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.4439, allocations: 226.6 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.4439, allocations: 25.7 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.444, allocations: 108.1 kB / 0.562 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.444, allocations: 27.78 kB / 0.5621 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.4441, allocations: 21.72 kB / 0.5621 GB, free: 2.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4442, allocations: 322.8 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.4443, allocations: 23.98 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.4444, allocations: 33.7 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4445, allocations: 69.7 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4445, allocations: 0 / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.4447, allocations: 97.59 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4447, allocations: 4 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4447, allocations: 4 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4448, allocations: 0 / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4449, allocations: 19.92 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4449, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.4449, allocations: 11.94 kB / 0.5627 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4449, allocations: 8.031 kB / 0.5627 GB, free: 1.828 MB / 398.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.0001295/0.4451, allocations: 128.6 kB / 0.5628 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.4451, allocations: 15.91 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.4454, allocations: 119 kB / 0.5629 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4454, allocations: 0 / 0.5629 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4454, allocations: 0 / 0.5629 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4454, allocations: 3.938 kB / 0.5629 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.446, allocations: 374.4 kB / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.446, allocations: 384 / 0.5633 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.446, allocations: 8 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.446, allocations: 7.938 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.446, allocations: 4 kB / 0.5633 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.446, allocations: 4 kB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.446, allocations: 0 / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4463, allocations: 200.5 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.4463, allocations: 15.94 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4463, allocations: 11.81 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.4464, allocations: 4 kB / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.4465, allocations: 7.984 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4465, allocations: 0 / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.4466, allocations: 160.3 kB / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4466, allocations: 0 / 0.5637 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.4469, allocations: 23.94 kB / 0.5637 GB, free: 0.6719 MB / 398.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.002277/0.4492, allocations: 1.105 MB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.4494, allocations: 51.97 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4494, allocations: 0 / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.4495, allocations: 27.94 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4499, allocations: 26.2 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.4521, allocations: 1.69 MB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.4524, allocations: 0.7041 MB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.017e-05/0.4525, allocations: 28.88 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/0.4526, allocations: 39.42 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4526, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4822, allocations: 3.689 MB / 0.5709 GB, free: 9.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.4, allocations: 4 kB / 0.5709 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.663013488003344]