Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.001247/0.001247, allocations: 115.6 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.001418/0.001418, allocations: 213.4 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2255/0.2255, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.002074/0.002074, allocations: 67.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4509, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003786/0.4547, allocations: 1.771 MB / 0.5588 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.4567, allocations: 1.057 MB / 0.5599 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.4568, allocations: 4 kB / 0.5599 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.4572, allocations: 87.64 kB / 0.5599 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.4575, allocations: 115.6 kB / 0.5601 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4578, allocations: 83.66 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.458, allocations: 127.7 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4581, allocations: 21.8 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.4583, allocations: 55.72 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.4584, allocations: 75.73 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4584, allocations: 4 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4585, allocations: 67.95 kB / 0.5605 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.4586, allocations: 19.92 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.4587, allocations: 39.69 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4589, allocations: 147.3 kB / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4589, allocations: 0 / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4589, allocations: 0 / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.4589, allocations: 4 kB / 0.5607 GB, free: 4.082 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006146/0.4595, allocations: 373.3 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4596, allocations: 12.03 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.4596, allocations: 34.75 kB / 0.5611 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.4597, allocations: 12.84 kB / 0.5611 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.46, allocations: 174.9 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.46, allocations: 384 / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.46, allocations: 11.88 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4602, allocations: 61.67 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.4602, allocations: 0 / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4602, allocations: 4 kB / 0.5613 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4602, allocations: 0 / 0.5613 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.4603, allocations: 19.98 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.4607, allocations: 271.9 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.461, allocations: 66.48 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.4611, allocations: 20.97 kB / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4611, allocations: 0 / 0.5617 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4613, allocations: 71.45 kB / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4613, allocations: 0 / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008263/0.4621, allocations: 245.2 kB / 0.562 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4621, allocations: 63.28 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4624, allocations: 235 kB / 0.5623 GB, free: 2.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4624, allocations: 29.7 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.4625, allocations: 112.1 kB / 0.5624 GB, free: 2.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.4626, allocations: 43.66 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.4626, allocations: 25.72 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4628, allocations: 330.8 kB / 0.5628 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.4628, allocations: 28 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.785e-05/0.4629, allocations: 49.62 kB / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4631, allocations: 73.72 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4631, allocations: 0 / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002348/0.4633, allocations: 129.5 kB / 0.5631 GB, free: 1.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4633, allocations: 8 kB / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4633, allocations: 0 / 0.5631 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4634, allocations: 4.031 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.4635, allocations: 27.86 kB / 0.5631 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4635, allocations: 4 kB / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.4635, allocations: 0 / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.4635, allocations: 7.984 kB / 0.5631 GB, free: 1.371 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 (13): * Single equations (assignments): 13 * 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.0001427/0.4637, allocations: 133.8 kB / 0.5632 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.4637, allocations: 15.91 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.464, allocations: 151.6 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.464, allocations: 11.94 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.464, allocations: 0 / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.464, allocations: 3.984 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.4646, allocations: 419.1 kB / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4646, allocations: 0 / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.4647, allocations: 16 kB / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4647, allocations: 0 / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4647, allocations: 12.05 kB / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4647, allocations: 0 / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4647, allocations: 0 / 0.5638 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.465, allocations: 237 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.465, allocations: 15.89 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4651, allocations: 8 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.4651, allocations: 4 kB / 0.5641 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.4652, allocations: 7.984 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4652, allocations: 8 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.4654, allocations: 175.3 kB / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4654, allocations: 3.938 kB / 0.5643 GB, free: 76 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.4657, allocations: 27.94 kB / 0.5643 GB, free: 48 kB / 398.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 (11): * Single equations (assignments): 9 * 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.002667/0.4683, allocations: 1.181 MB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4686, allocations: 79.84 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4686, allocations: 0 / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.4686, allocations: 39.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.469, allocations: 35.64 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.4712, allocations: 1.845 MB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4716, allocations: 0.7197 MB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.4716, allocations: 20.62 kB / 0.5681 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.4717, allocations: 43.42 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4717, allocations: 0 / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.5036, allocations: 4.134 MB / 0.5722 GB, free: 8.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.28, allocations: 6.688 kB / 0.5722 GB, free: 8.078 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.4867635720002]