Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001781/0.001781, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001428/0.001428, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2131/0.2131, allocations: 44.92 MB / 358.8 MB, free: 6.277 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.002093/0.002093, allocations: 67.89 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2985, allocations: 65.47 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003244/0.3018, allocations: 1.748 MB / 0.5588 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3035, allocations: 1.049 MB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.3036, allocations: 0 / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3039, allocations: 39.77 kB / 0.5599 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.3042, allocations: 99.53 kB / 0.56 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.3044, allocations: 71.75 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3046, allocations: 111.6 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.3046, allocations: 5.828 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3047, allocations: 47.78 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.3048, allocations: 35.84 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3048, allocations: 8 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.3049, allocations: 39.98 kB / 0.5603 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.305, allocations: 19.86 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.3051, allocations: 39.72 kB / 0.5603 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3052, allocations: 111.5 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3053, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3053, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3053, allocations: 0 / 0.5604 GB, free: 4.344 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.0005209/0.3058, allocations: 337.6 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3058, allocations: 16.03 kB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3059, allocations: 34.75 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.3059, allocations: 12.88 kB / 0.5608 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.3061, allocations: 146.3 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3062, allocations: 12.31 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3062, allocations: 7.938 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3063, allocations: 53.67 kB / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3063, allocations: 0 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3063, allocations: 0 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3064, allocations: 0 / 0.561 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.3064, allocations: 23.98 kB / 0.561 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.3068, allocations: 263.8 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3069, allocations: 50.67 kB / 0.5613 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.307, allocations: 16.86 kB / 0.5614 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.307, allocations: 8 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3072, allocations: 67.33 kB / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3072, allocations: 0 / 0.5614 GB, free: 3.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004997/0.3077, allocations: 169.5 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.3077, allocations: 55.34 kB / 0.5616 GB, free: 2.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3079, allocations: 174.1 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3079, allocations: 29.69 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.308, allocations: 104.1 kB / 0.5619 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.308, allocations: 31.72 kB / 0.562 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.308, allocations: 21.72 kB / 0.562 GB, free: 2.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3082, allocations: 326.8 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.3082, allocations: 19.98 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.3083, allocations: 33.7 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3084, allocations: 65.64 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3084, allocations: 0 / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.3086, allocations: 101.6 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3086, allocations: 4 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3086, allocations: 0 / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3086, allocations: 4 kB / 0.5625 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.3087, allocations: 19.92 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3087, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.3088, allocations: 15.97 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3088, allocations: 160 / 0.5625 GB, free: 1.953 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 9.566e-05/0.3089, allocations: 117.8 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3089, allocations: 12.31 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3092, allocations: 122.2 kB / 0.5628 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3092, allocations: 7.938 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3092, allocations: 3.984 kB / 0.5628 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.3092, allocations: 7.938 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.3096, allocations: 362.4 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3096, allocations: 0 / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.3096, allocations: 8 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3096, allocations: 7.938 kB / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3097, allocations: 0 / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3097, allocations: 0 / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3097, allocations: 0 / 0.5632 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3099, allocations: 208.3 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.3099, allocations: 11.91 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3099, allocations: 7.938 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.31, allocations: 4 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.31, allocations: 7.984 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3101, allocations: 4 kB / 0.5634 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3102, allocations: 128.1 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3102, allocations: 0 / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3104, allocations: 32.11 kB / 0.5636 GB, free: 0.832 MB / 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.002137/0.3126, allocations: 1.092 MB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3128, allocations: 55.95 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3128, allocations: 0 / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.3128, allocations: 31.92 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3132, allocations: 35.5 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3149, allocations: 1.598 MB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3152, allocations: 0.7002 MB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.918e-05/0.3153, allocations: 20.97 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.3153, allocations: 27.44 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3153, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3427, allocations: 3.511 MB / 0.5705 GB, free: 9.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.25, allocations: 7.109 kB / 0.5705 GB, free: 9.859 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_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_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.221083746000659]