Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.91 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003093/0.003093, allocations: 59.91 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3608, allocations: 65.46 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003383/0.3642, allocations: 1.75 MB / 0.5588 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3661, allocations: 1.049 MB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.3662, allocations: 7.938 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3665, allocations: 47.75 kB / 0.5599 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.3668, allocations: 103.6 kB / 0.56 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3671, allocations: 83.61 kB / 0.5601 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3673, allocations: 103.7 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3674, allocations: 5.828 kB / 0.5602 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3675, allocations: 51.72 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.3676, allocations: 39.73 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3676, allocations: 3.984 kB / 0.5602 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3677, allocations: 39.98 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.222e-05/0.3678, allocations: 27.86 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.3678, allocations: 47.67 kB / 0.5604 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3681, allocations: 147.3 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3681, allocations: 0 / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3681, allocations: 0 / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3681, allocations: 0 / 0.5605 GB, free: 4.238 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.0005928/0.3687, allocations: 377.2 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3687, allocations: 8.031 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.3688, allocations: 34.75 kB / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3688, allocations: 16.84 kB / 0.5609 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3691, allocations: 163.2 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3691, allocations: 8.375 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.3691, allocations: 7.938 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3693, allocations: 57.61 kB / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3693, allocations: 0 / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3693, allocations: 0 / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.3693, allocations: 0 / 0.5611 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.3694, allocations: 19.98 kB / 0.5612 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.3698, allocations: 271.9 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.37, allocations: 58.62 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.37, allocations: 20.84 kB / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.37, allocations: 0 / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3702, allocations: 67.39 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3702, allocations: 4 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.3707, allocations: 185.3 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3708, allocations: 51.41 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3711, allocations: 275.7 kB / 0.5621 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3711, allocations: 25.7 kB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.3712, allocations: 116.1 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3712, allocations: 31.77 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.3713, allocations: 25.72 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3714, allocations: 330.8 kB / 0.5626 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.3715, allocations: 20 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.3716, allocations: 41.58 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3717, allocations: 65.77 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3717, allocations: 0 / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.3719, allocations: 113.5 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3719, allocations: 4 kB / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3719, allocations: 0 / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3719, allocations: 3.938 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.372, allocations: 16 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.372, allocations: 0 / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.3721, allocations: 11.92 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3721, allocations: 4 kB / 0.5628 GB, free: 1.641 MB / 398.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.0001257/0.3722, allocations: 137.8 kB / 0.563 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.3722, allocations: 19.94 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.3725, allocations: 119 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3725, allocations: 0 / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3725, allocations: 0 / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.3725, allocations: 7.922 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.373, allocations: 370.4 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.373, allocations: 0 / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.373, allocations: 12 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.373, allocations: 7.969 kB / 0.5635 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.373, allocations: 0 / 0.5635 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.373, allocations: 7.938 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.373, allocations: 3.984 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3733, allocations: 204.3 kB / 0.5637 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.3733, allocations: 11.91 kB / 0.5637 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3733, allocations: 8.312 kB / 0.5637 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.3734, allocations: 4 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3734, allocations: 7.984 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3735, allocations: 12 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.3736, allocations: 200.6 kB / 0.5639 GB, free: 444 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 4 kB / 0.5639 GB, free: 440 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3739, allocations: 23.94 kB / 0.5639 GB, free: 416 kB / 398.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.002165/0.3761, allocations: 1.103 MB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3762, allocations: 63.91 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3763, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.3763, allocations: 27.92 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3767, allocations: 30.16 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3788, allocations: 1.828 MB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3791, allocations: 0.7119 MB / 0.5676 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.553e-05/0.3792, allocations: 21.27 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.3793, allocations: 43.42 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3793, allocations: 0 / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.4103, allocations: 3.979 MB / 0.5716 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.49, allocations: 3.984 kB / 0.5716 GB, free: 8.715 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.6835101329998]