Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001349/0.001349, allocations: 113.2 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.001466/0.001466, allocations: 212 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2359/0.2359, 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.002069/0.002069, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3784, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003532/0.382, allocations: 1.951 MB / 0.559 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.3838, allocations: 1.088 MB / 0.5601 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.3839, allocations: 3.938 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.3842, allocations: 51.69 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3846, allocations: 99.47 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3848, allocations: 95.7 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.385, allocations: 151.5 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3852, allocations: 19.56 kB / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3853, allocations: 63.7 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3854, allocations: 51.72 kB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3854, allocations: 8 kB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3855, allocations: 51.91 kB / 0.5606 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.3856, allocations: 31.86 kB / 0.5607 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.3856, allocations: 47.67 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3859, allocations: 155.3 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.3859, allocations: 7.984 kB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3859, allocations: 0 / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3859, allocations: 0 / 0.5609 GB, free: 3.883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006894/0.3866, allocations: 411 kB / 0.5612 GB, free: 3.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3867, allocations: 8.031 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3867, allocations: 38.75 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.3867, allocations: 20.83 kB / 0.5613 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3871, allocations: 171 kB / 0.5615 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3871, allocations: 12.31 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3871, allocations: 7.938 kB / 0.5615 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3874, allocations: 116.2 kB / 0.5616 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3874, allocations: 3.938 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3874, allocations: 0 / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3874, allocations: 4 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.3875, allocations: 51.91 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.3882, allocations: 488.1 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.3885, allocations: 86.59 kB / 0.5622 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3886, allocations: 32.84 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3886, allocations: 3.984 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.3888, allocations: 87.31 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3888, allocations: 0 / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004018/0.3892, allocations: 145.4 kB / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3893, allocations: 55.41 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3895, allocations: 203.1 kB / 0.5627 GB, free: 1.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3895, allocations: 29.7 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.3896, allocations: 116.1 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3896, allocations: 31.73 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.3897, allocations: 25.72 kB / 0.5629 GB, free: 1.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3898, allocations: 330.8 kB / 0.5632 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3899, allocations: 27.98 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.39, allocations: 60.28 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3902, allocations: 96.58 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3902, allocations: 0 / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000288/0.3905, allocations: 149.3 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3905, allocations: 4 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3905, allocations: 0 / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3905, allocations: 7.938 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.3906, allocations: 19.98 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3906, allocations: 4 kB / 0.5636 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.3907, allocations: 19.88 kB / 0.5636 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3907, allocations: 8.125 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001149/0.3908, allocations: 128.1 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3909, allocations: 15.91 kB / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.3912, allocations: 127 kB / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3912, allocations: 11.86 kB / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3912, allocations: 0 / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3912, allocations: 0 / 0.5639 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3914, allocations: 188.7 kB / 0.5641 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3914, allocations: 4 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.3914, allocations: 8 kB / 0.5641 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3914, allocations: 0 / 0.5641 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3914, allocations: 8 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3915, allocations: 3.938 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3915, allocations: 3.984 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3918, allocations: 181.2 kB / 0.5643 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.3919, allocations: 11.94 kB / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.3919, allocations: 7.938 kB / 0.5643 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.392, allocations: 15.92 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.392, allocations: 7.984 kB / 0.5643 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.392, allocations: 4 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3922, allocations: 143.3 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 3.938 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3924, allocations: 27.94 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002091/0.3945, allocations: 1.01 MB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.3947, allocations: 71.91 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3947, allocations: 4.25 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/0.3948, allocations: 39.91 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3951, allocations: 52.42 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3972, allocations: 1.758 MB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3976, allocations: 0.7161 MB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.3976, allocations: 17.42 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.3977, allocations: 43.8 kB / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3977, allocations: 0 / 0.5681 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.4295, allocations: 4.025 MB / 0.572 GB, free: 8.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.32, allocations: 6.031 kB / 0.572 GB, free: 8.188 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.605042000999674]