Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001263/0.001263, allocations: 114.4 kB / 21.11 MB, free: 0.7773 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.001356/0.001356, allocations: 218 kB / 24.39 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.528/1.528, allocations: 230.2 MB / 257.7 MB, free: 8.266 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.2452/0.2452, allocations: 46.9 MB / 361 MB, free: 4.492 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 76.06 kB / 0.4962 GB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4508, allocations: 66.03 MB / 0.5607 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003884/0.4547, allocations: 1.745 MB / 0.5624 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.457, allocations: 1.049 MB / 0.5634 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4571, allocations: 4 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.4575, allocations: 43.75 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.4579, allocations: 95.55 kB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.4581, allocations: 75.73 kB / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.4584, allocations: 107.6 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.4585, allocations: 13.81 kB / 0.5638 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.4586, allocations: 43.78 kB / 0.5638 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.4587, allocations: 31.86 kB / 0.5638 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.4587, allocations: 4 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.4588, allocations: 47.91 kB / 0.5639 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.4589, allocations: 23.92 kB / 0.5639 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.494e-05/0.459, allocations: 35.73 kB / 0.564 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.4593, allocations: 119.4 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4593, allocations: 0 / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4593, allocations: 0 / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4593, allocations: 0 / 0.5641 GB, free: 1.262 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.0007746/0.4601, allocations: 430.7 kB / 0.5645 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4601, allocations: 11.97 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.4602, allocations: 34.75 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.4602, allocations: 12.89 kB / 0.5645 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.4606, allocations: 212.8 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4606, allocations: 384 / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.4607, allocations: 8.375 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4609, allocations: 53.8 kB / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4609, allocations: 0 / 0.5648 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.4609, allocations: 8 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4609, allocations: 0 / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.461, allocations: 23.92 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.4615, allocations: 288.8 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.4617, allocations: 50.69 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.4618, allocations: 24.84 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.4618, allocations: 3.938 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.462, allocations: 71.27 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.416e-06/0.462, allocations: 3.984 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.4626, allocations: 185.3 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4627, allocations: 51.41 kB / 0.5655 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.4629, allocations: 202.3 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4629, allocations: 25.7 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.463, allocations: 100.1 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4631, allocations: 23.8 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.4631, allocations: 25.7 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.4633, allocations: 330.8 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.4633, allocations: 16 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.4634, allocations: 33.7 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.4635, allocations: 69.64 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4635, allocations: 0 / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.4637, allocations: 105.6 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4638, allocations: 7.984 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4638, allocations: 384 / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4638, allocations: 7.938 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.4639, allocations: 12 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4639, allocations: 8.031 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.4639, allocations: 4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.464, allocations: 7.984 kB / 0.5664 GB, free: 14.61 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.0001357/0.4641, allocations: 125.8 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.4641, allocations: 11.91 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.4645, allocations: 119 kB / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4645, allocations: 0 / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4645, allocations: 0 / 0.5667 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4645, allocations: 4 kB / 0.5667 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.4651, allocations: 403.5 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4651, allocations: 0 / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.4651, allocations: 8 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4651, allocations: 4 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4651, allocations: 0 / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4651, allocations: 3.938 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4651, allocations: 0 / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4654, allocations: 220.4 kB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.4655, allocations: 85.06 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4655, allocations: 7.938 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.4656, allocations: 7.938 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.4656, allocations: 3.984 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4656, allocations: 4 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.4658, allocations: 152.2 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4658, allocations: 0 / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4661, allocations: 27.94 kB / 0.5675 GB, free: 13.33 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.002223/0.4683, allocations: 1.089 MB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.4685, allocations: 51.92 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4685, allocations: 0 / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.4686, allocations: 27.92 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.469, allocations: 41.8 kB / 0.5687 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4713, allocations: 1.654 MB / 0.5703 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.4718, allocations: 0.7002 MB / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.4718, allocations: 20.97 kB / 0.571 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.4719, allocations: 39.42 kB / 0.5711 GB, free: 9.73 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4719, allocations: 0 / 0.5711 GB, free: 9.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.5021, allocations: 3.521 MB / 0.5745 GB, free: 6.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.306, allocations: 0.75 kB / 0.5745 GB, free: 6.215 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.514389973133802]