Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001661/0.001661, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.002176/0.002176, allocations: 205 kB / 24.38 MB, free: 4.188 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.629/1.629, allocations: 230.2 MB / 257.7 MB, free: 8.273 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.2614/0.2614, allocations: 46.89 MB / 361 MB, free: 4.488 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003093/0.003093, allocations: 83.84 kB / 0.4962 GB, free: 8.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.497, allocations: 66.03 MB / 0.5607 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004132/0.5012, allocations: 1.757 MB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.5035, allocations: 1.06 MB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/0.5036, allocations: 0 / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.504, allocations: 83.69 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.5043, allocations: 119.5 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.5046, allocations: 79.67 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.5048, allocations: 131.7 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.5049, allocations: 9.812 kB / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.5051, allocations: 63.75 kB / 0.5639 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.5053, allocations: 63.69 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.5053, allocations: 4 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.5054, allocations: 59.98 kB / 0.5641 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.5055, allocations: 27.91 kB / 0.5641 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.5056, allocations: 39.73 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.5059, allocations: 135.4 kB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5059, allocations: 0 / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5059, allocations: 0 / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5059, allocations: 4 kB / 0.5643 GB, free: 1.023 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.0007792/0.5067, allocations: 450.4 kB / 0.5647 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5067, allocations: 8.031 kB / 0.5647 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.5068, allocations: 38.73 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.5068, allocations: 16.84 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.5073, allocations: 220.6 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5073, allocations: 4.375 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.5073, allocations: 384 / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.5075, allocations: 65.8 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5075, allocations: 3.938 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.5075, allocations: 4 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5075, allocations: 7.984 kB / 0.565 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.5076, allocations: 19.98 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.5083, allocations: 304.8 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5086, allocations: 66.42 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.5086, allocations: 16.98 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.5087, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.5088, allocations: 71.38 kB / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5088, allocations: 0 / 0.5655 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000836/0.5097, allocations: 245.4 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5097, allocations: 55.41 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.51, allocations: 231.4 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.51, allocations: 29.7 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.5101, allocations: 104.1 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.5101, allocations: 39.8 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.5102, allocations: 25.72 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5104, allocations: 330.8 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.5104, allocations: 31.94 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.5106, allocations: 45.69 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.5107, allocations: 77.72 kB / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5107, allocations: 0 / 0.5667 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003798/0.5111, allocations: 137.5 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5111, allocations: 8 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5111, allocations: 0 / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5111, allocations: 4.031 kB / 0.5668 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.5112, allocations: 19.98 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5112, allocations: 4 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.5113, allocations: 3.938 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.5113, allocations: 4 kB / 0.5668 GB, free: 14.13 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 (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.0001319/0.5114, allocations: 139.1 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5115, allocations: 15.91 kB / 0.567 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003244/0.5118, allocations: 150.9 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5118, allocations: 8 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5118, allocations: 0 / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5118, allocations: 3.938 kB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.5124, allocations: 452 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5124, allocations: 0 / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.5125, allocations: 19.88 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5125, allocations: 3.984 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5125, allocations: 8.062 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5125, allocations: 96 / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5125, allocations: 3.938 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.5128, allocations: 229.2 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.5129, allocations: 96.94 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.5129, allocations: 4 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.513, allocations: 4 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.513, allocations: 23.84 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.513, allocations: 4 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.5132, allocations: 173.1 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5132, allocations: 0 / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.5135, allocations: 27.94 kB / 0.5681 GB, free: 12.67 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 (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.002593/0.5161, allocations: 1.174 MB / 0.5693 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.5165, allocations: 75.84 kB / 0.5694 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.5165, allocations: 0 / 0.5694 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.5166, allocations: 43.98 kB / 0.5694 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.517, allocations: 42.61 kB / 0.5694 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.5196, allocations: 1.815 MB / 0.5712 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.52, allocations: 0.7197 MB / 0.5719 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.52, allocations: 16.64 kB / 0.5719 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.5201, allocations: 43.41 kB / 0.572 GB, free: 8.777 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5201, allocations: 0 / 0.572 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.5482, allocations: 3.966 MB / 0.5758 GB, free: 4.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.57, allocations: 8.781 kB / 0.5759 GB, free: 4.812 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.180474497145042]