Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001738/0.001738, allocations: 109 kB / 21.1 MB, free: 0.7891 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.002101/0.002101, allocations: 205.8 kB / 24.38 MB, free: 4.203 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.505/1.505, allocations: 230.2 MB / 257.7 MB, free: 8.301 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.2469/0.2469, allocations: 46.89 MB / 361 MB, free: 4.508 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 83.86 kB / 0.4962 GB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4525, allocations: 66.02 MB / 0.5607 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003557/0.4561, allocations: 1.745 MB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.458, allocations: 1.049 MB / 0.5634 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.458, allocations: 3.938 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.4583, allocations: 55.75 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4587, allocations: 103.5 kB / 0.5636 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.4589, allocations: 83.66 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.4591, allocations: 103.8 kB / 0.5638 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.4592, allocations: 5.828 kB / 0.5638 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4593, allocations: 51.66 kB / 0.5638 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.4593, allocations: 35.84 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.4594, allocations: 4 kB / 0.5639 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.4595, allocations: 39.98 kB / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.4595, allocations: 31.84 kB / 0.5639 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.4596, allocations: 43.67 kB / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.4598, allocations: 135.4 kB / 0.5641 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4598, allocations: 7.984 kB / 0.5641 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4598, allocations: 0 / 0.5641 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.4598, allocations: 4 kB / 0.5641 GB, free: 1.191 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.000594/0.4604, allocations: 450.3 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4605, allocations: 8.031 kB / 0.5646 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.4605, allocations: 30.75 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.4605, allocations: 16.84 kB / 0.5646 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.4609, allocations: 221.1 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4609, allocations: 8.359 kB / 0.5648 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.4609, allocations: 4.375 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.461, allocations: 61.73 kB / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.461, allocations: 0 / 0.5649 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4611, allocations: 4 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.4611, allocations: 0 / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.4611, allocations: 27.91 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.4615, allocations: 304.8 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.4617, allocations: 58.62 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.4618, allocations: 20.84 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4618, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.4619, allocations: 67.39 kB / 0.5653 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.336e-06/0.4619, allocations: 4 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.4625, allocations: 185.3 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.4625, allocations: 55.41 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.4628, allocations: 270.8 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.4628, allocations: 29.7 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.4629, allocations: 112.1 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.463, allocations: 27.78 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.463, allocations: 17.72 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4632, allocations: 334.8 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.4632, allocations: 23.98 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.4633, allocations: 41.64 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.4634, allocations: 57.7 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4634, allocations: 0 / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.4636, allocations: 113.5 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4636, allocations: 8.031 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4636, allocations: 7.938 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.4636, allocations: 0 / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.4637, allocations: 15.98 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4637, allocations: 0 / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.4638, allocations: 4 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.4638, allocations: 4 kB / 0.5666 GB, free: 14.4 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.0001333/0.4639, allocations: 139 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4639, allocations: 19.89 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.4642, allocations: 119.1 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4642, allocations: 4 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4642, allocations: 0 / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4642, allocations: 0 / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.4647, allocations: 411.8 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4647, allocations: 4 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.4647, allocations: 8 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4647, allocations: 8.219 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.4647, allocations: 4 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4647, allocations: 11.81 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4647, allocations: 4 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.465, allocations: 204.3 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.4651, allocations: 89.02 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4651, allocations: 4 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.4652, allocations: 7.938 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4652, allocations: 11.98 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.4652, allocations: 4 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.4654, allocations: 204.6 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4654, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4656, allocations: 23.94 kB / 0.5678 GB, free: 13.02 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.002092/0.4677, allocations: 1.097 MB / 0.5689 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.4679, allocations: 59.86 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4679, allocations: 4 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.468, allocations: 23.92 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4683, allocations: 31.55 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.4705, allocations: 1.83 MB / 0.5708 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4709, allocations: 0.7236 MB / 0.5715 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.823e-05/0.4709, allocations: 16.95 kB / 0.5715 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.471, allocations: 43.42 kB / 0.5716 GB, free: 9.227 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.471, allocations: 0 / 0.5716 GB, free: 9.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.4967, allocations: 3.854 MB / 0.5753 GB, free: 5.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.334, allocations: 18.44 kB / 0.5753 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.680565069895238]