Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001522/0.001522, allocations: 110.4 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.001431/0.001431, allocations: 205.4 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.577/1.577, allocations: 230.2 MB / 257.7 MB, free: 8.285 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.2535/0.2535, allocations: 46.89 MB / 361 MB, free: 4.484 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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 79.86 kB / 0.4962 GB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4661, allocations: 66.02 MB / 0.5607 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003803/0.4699, allocations: 1.753 MB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4719, allocations: 1.053 MB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.4719, allocations: 0 / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.4723, allocations: 43.77 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.4726, allocations: 95.59 kB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.4728, allocations: 79.67 kB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.473, allocations: 103.7 kB / 0.5638 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4731, allocations: 13.77 kB / 0.5638 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.4733, allocations: 47.78 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.4734, allocations: 39.84 kB / 0.5639 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.4734, allocations: 4 kB / 0.5639 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4735, allocations: 35.98 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.4735, allocations: 19.92 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.4736, allocations: 39.67 kB / 0.5639 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.4739, allocations: 127.4 kB / 0.5641 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4739, allocations: 4 kB / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4739, allocations: 0 / 0.5641 GB, free: 1.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4739, allocations: 0 / 0.5641 GB, free: 1.23 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.0006551/0.4745, allocations: 418.7 kB / 0.5645 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4746, allocations: 12.03 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.4746, allocations: 34.75 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.4747, allocations: 8.891 kB / 0.5645 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.4751, allocations: 216.8 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4751, allocations: 8.375 kB / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.4751, allocations: 384 / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4753, allocations: 57.8 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4753, allocations: 4 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4753, allocations: 4 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4753, allocations: 0 / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.4754, allocations: 19.98 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4758, allocations: 288.8 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.476, allocations: 58.61 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.4761, allocations: 28.78 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.4761, allocations: 4 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.4763, allocations: 59.39 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4763, allocations: 3.938 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.4769, allocations: 185.3 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.4769, allocations: 51.41 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4771, allocations: 198.3 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4772, allocations: 29.7 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.4772, allocations: 96.14 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.4773, allocations: 27.78 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.4773, allocations: 29.66 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.4775, allocations: 322.8 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.4776, allocations: 23.98 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.787e-05/0.4776, allocations: 37.7 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.4778, allocations: 61.7 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4778, allocations: 0 / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.478, allocations: 109.5 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.478, allocations: 4 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.478, allocations: 0 / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.478, allocations: 0 / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.4781, allocations: 19.98 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4781, allocations: 7.969 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.4781, allocations: 0 / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4782, allocations: 4 kB / 0.5664 GB, free: 14.6 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.000145/0.4783, allocations: 137.3 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.4783, allocations: 11.91 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.4786, allocations: 111.1 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4786, allocations: 7.984 kB / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4786, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4786, allocations: 0 / 0.5667 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.4791, allocations: 403.5 kB / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4791, allocations: 0 / 0.567 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.4791, allocations: 11.94 kB / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4791, allocations: 0 / 0.567 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4792, allocations: 4 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4792, allocations: 4.016 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4792, allocations: 4.172 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.4794, allocations: 212.3 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.4795, allocations: 88.98 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4795, allocations: 8 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.4796, allocations: 3.938 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.4796, allocations: 11.92 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.4796, allocations: 4.375 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.4798, allocations: 152.2 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4798, allocations: 0 / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.48, allocations: 23.94 kB / 0.5675 GB, free: 13.31 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.002166/0.4822, allocations: 1.088 MB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4824, allocations: 55.86 kB / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4824, allocations: 0 / 0.5687 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.4825, allocations: 27.92 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4829, allocations: 32.67 kB / 0.5687 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.4849, allocations: 1.66 MB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4853, allocations: 0.7119 MB / 0.571 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.939e-05/0.4853, allocations: 16.97 kB / 0.571 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.4854, allocations: 39.41 kB / 0.5711 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4854, allocations: 0 / 0.5711 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.5127, allocations: 3.51 MB / 0.5745 GB, free: 6.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.277, allocations: 4.312 kB / 0.5745 GB, free: 6.195 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_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_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.626527135958895]