Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.00117/0.00117, 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.001358/0.001358, allocations: 206 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.506/1.506, allocations: 230.2 MB / 257.7 MB, free: 8.312 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.2463/0.2463, allocations: 46.88 MB / 361 MB, free: 4.52 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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.88 kB / 0.4962 GB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4625, allocations: 66.03 MB / 0.5607 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003889/0.4663, allocations: 1.739 MB / 0.5624 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4685, allocations: 1.045 MB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.4686, allocations: 3.938 kB / 0.5634 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.4689, allocations: 47.75 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.4693, allocations: 99.53 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.4695, allocations: 79.67 kB / 0.5637 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.4697, allocations: 103.8 kB / 0.5638 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4698, allocations: 5.828 kB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.47, allocations: 47.72 kB / 0.5638 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.4701, allocations: 43.78 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.4701, allocations: 4 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.4702, allocations: 39.98 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.4703, allocations: 19.91 kB / 0.5639 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.4703, allocations: 35.73 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.4706, allocations: 123.5 kB / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4706, allocations: 0 / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4706, allocations: 3.938 kB / 0.5641 GB, free: 1.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.4706, allocations: 0 / 0.5641 GB, free: 1.145 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.0007118/0.4713, allocations: 430.6 kB / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4714, allocations: 8.031 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.4714, allocations: 34.69 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.4715, allocations: 8.891 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.4719, allocations: 224.8 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4719, allocations: 384 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4719, allocations: 384 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.4721, allocations: 61.8 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4721, allocations: 0 / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.4721, allocations: 3.938 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4721, allocations: 4 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.18e-05/0.4722, allocations: 19.98 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.4727, allocations: 288.9 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.4729, allocations: 54.67 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.4729, allocations: 28.78 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.473, allocations: 7.984 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.4732, allocations: 63.39 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4732, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006265/0.4738, allocations: 177.3 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.4738, allocations: 55.34 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.4741, allocations: 194.3 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4741, allocations: 33.7 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.4742, allocations: 104.1 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.4742, allocations: 23.8 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.4743, allocations: 25.7 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4744, allocations: 326.8 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.4745, allocations: 16 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.4746, allocations: 37.7 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.4747, allocations: 69.55 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4747, allocations: 0 / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.4749, allocations: 105.5 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4749, allocations: 7.984 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4749, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4749, allocations: 4 kB / 0.5664 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.475, allocations: 12 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.475, allocations: 0 / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.4751, allocations: 8.031 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4751, allocations: 7.984 kB / 0.5664 GB, free: 14.5 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.0001168/0.4752, allocations: 126 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4752, allocations: 11.91 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.4755, allocations: 118.9 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4755, allocations: 4 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4755, allocations: 0 / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4755, allocations: 0 / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.476, allocations: 403.5 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.476, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.4761, allocations: 8.375 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4761, allocations: 0 / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4761, allocations: 8 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.4761, allocations: 7.938 kB / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4761, allocations: 80 / 0.5671 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.4764, allocations: 224.2 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.4764, allocations: 85 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4764, allocations: 4 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.4765, allocations: 3.938 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4766, allocations: 7.984 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.4766, allocations: 8 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.4767, allocations: 144.2 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4767, allocations: 4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.477, allocations: 23.94 kB / 0.5675 GB, free: 13.21 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.002313/0.4793, allocations: 1.09 MB / 0.5686 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4795, allocations: 55.86 kB / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4795, allocations: 0 / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.4796, allocations: 31.97 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.4799, allocations: 35.66 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.482, allocations: 1.656 MB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.4827, allocations: 0.7041 MB / 0.571 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.89e-05/0.4827, allocations: 20.95 kB / 0.571 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.4828, allocations: 35.42 kB / 0.5711 GB, free: 9.613 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4828, allocations: 0 / 0.5711 GB, free: 9.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.5135, allocations: 3.512 MB / 0.5745 GB, free: 6.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.267, allocations: 7.188 kB / 0.5745 GB, free: 6.098 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.450054852059111]