Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001951/0.001951, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002191/0.002191, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 0.4962 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 66.03 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003312/0.3679, allocations: 1.745 MB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3698, allocations: 1.049 MB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.3699, allocations: 7.938 kB / 0.5635 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3702, allocations: 35.72 kB / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.3705, allocations: 95.59 kB / 0.5636 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3707, allocations: 87.66 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3709, allocations: 95.77 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.371, allocations: 9.812 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3711, allocations: 55.66 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.3712, allocations: 27.86 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3712, allocations: 4 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.3713, allocations: 39.98 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.3714, allocations: 23.91 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.3715, allocations: 35.73 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3717, allocations: 119.5 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3717, allocations: 3.938 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3717, allocations: 4 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3717, allocations: 0 / 0.5641 GB, free: 1.02 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.0005453/0.3722, allocations: 329.6 kB / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3723, allocations: 8.031 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.3723, allocations: 38.73 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.3724, allocations: 12.89 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3727, allocations: 146.3 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3727, allocations: 4.375 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3727, allocations: 7.938 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3729, allocations: 57.61 kB / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3729, allocations: 0 / 0.5646 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3729, allocations: 4 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3729, allocations: 0 / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.373, allocations: 15.98 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3734, allocations: 259.9 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3735, allocations: 62.61 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.3736, allocations: 16.86 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3736, allocations: 3.938 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3738, allocations: 71.38 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.196e-06/0.3738, allocations: 3.984 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.3744, allocations: 169.4 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3744, allocations: 51.41 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.3746, allocations: 182 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3746, allocations: 25.7 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.3747, allocations: 100.1 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3747, allocations: 31.77 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3748, allocations: 25.72 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3749, allocations: 322.8 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.375, allocations: 19.98 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.3751, allocations: 41.64 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3752, allocations: 57.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3752, allocations: 0 / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.3754, allocations: 101.5 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3754, allocations: 12.03 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3754, allocations: 384 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3754, allocations: 0 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.3755, allocations: 19.98 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3755, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3756, allocations: 7.938 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3756, allocations: 4 kB / 0.5662 GB, free: 14.64 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.0001184/0.3757, allocations: 132.3 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3757, allocations: 7.953 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.3759, allocations: 118.5 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.376, allocations: 0 / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.376, allocations: 4 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.376, allocations: 3.938 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.3764, allocations: 358.5 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3764, allocations: 0 / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.3765, allocations: 8 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3765, allocations: 3.938 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3765, allocations: 8.031 kB / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3765, allocations: 0 / 0.5668 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3765, allocations: 11.86 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3768, allocations: 200.3 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3768, allocations: 11.91 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3768, allocations: 7.938 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.3769, allocations: 8 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.3769, allocations: 7.984 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.377, allocations: 4.188 kB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3771, allocations: 128.1 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 3.938 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.3773, allocations: 27.92 kB / 0.5672 GB, free: 13.52 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.002225/0.3796, allocations: 1.082 MB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3798, allocations: 63.89 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3798, allocations: 0 / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.3798, allocations: 31.92 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3802, allocations: 27.64 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.3821, allocations: 1.601 MB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3824, allocations: 0.7041 MB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.3825, allocations: 16.97 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.3826, allocations: 35.42 kB / 0.5707 GB, free: 10 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3826, allocations: 3.938 kB / 0.5707 GB, free: 9.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4133, allocations: 3.506 MB / 0.5741 GB, free: 6.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 4.062 kB / 0.5741 GB, free: 6.547 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.561591450998094]