Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001363/0.001363, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.001446/0.001446, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 207.6 MB / 230.5 MB, free: 4.062 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5015/0.5015, allocations: 44.22 MB / 326.6 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00224/0.00224, allocations: 67.91 kB / 462.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 61.01 MB / 0.511 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00314/0.3827, allocations: 1.707 MB / 0.5127 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.384, allocations: 0.8163 MB / 0.5135 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.3841, allocations: 0 / 0.5135 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.3845, allocations: 51.81 kB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.3847, allocations: 56.3 kB / 0.5136 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.3849, allocations: 82.98 kB / 0.5137 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3851, allocations: 93.53 kB / 0.5138 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3852, allocations: 15.98 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.3853, allocations: 40.86 kB / 0.5138 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.3854, allocations: 41.77 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3854, allocations: 4.438 kB / 0.5139 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3855, allocations: 42.14 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.3856, allocations: 18.86 kB / 0.5139 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.3857, allocations: 36.3 kB / 0.5139 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.3859, allocations: 116.2 kB / 0.5141 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3859, allocations: 0 / 0.5141 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3859, allocations: 0 / 0.5141 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3859, allocations: 4 kB / 0.5141 GB, free: 11 MB / 382.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.0004971/0.3864, allocations: 417.2 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3864, allocations: 13.33 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.3865, allocations: 36 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3865, allocations: 14.02 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.3868, allocations: 208.4 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3868, allocations: 1.625 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3868, allocations: 6.312 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.387, allocations: 58.55 kB / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.387, allocations: 0 / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.387, allocations: 0 / 0.5148 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.387, allocations: 5.188 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.3871, allocations: 26.3 kB / 0.5148 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.3874, allocations: 290.4 kB / 0.5151 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3875, allocations: 56.17 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.3876, allocations: 22.28 kB / 0.5152 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3876, allocations: 0 / 0.5152 GB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3877, allocations: 73.05 kB / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3878, allocations: 0 / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.3883, allocations: 173.9 kB / 0.5154 GB, free: 9.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.3883, allocations: 65.25 kB / 0.5155 GB, free: 9.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3885, allocations: 199 kB / 0.5156 GB, free: 9.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3885, allocations: 27.11 kB / 0.5157 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.3885, allocations: 104.1 kB / 0.5158 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3886, allocations: 23.92 kB / 0.5158 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3886, allocations: 24.58 kB / 0.5158 GB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.3887, allocations: 327 kB / 0.5161 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.3887, allocations: 19 kB / 0.5162 GB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.3888, allocations: 35.45 kB / 0.5162 GB, free: 8.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.389, allocations: 66.45 kB / 0.5162 GB, free: 8.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.389, allocations: 1.375 kB / 0.5162 GB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.3891, allocations: 98.83 kB / 0.5163 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3892, allocations: 5.5 kB / 0.5163 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3892, allocations: 3.984 kB / 0.5164 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3892, allocations: 5.406 kB / 0.5164 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.3893, allocations: 17.69 kB / 0.5164 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3893, allocations: 0 / 0.5164 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.3893, allocations: 10.69 kB / 0.5164 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3893, allocations: 6.734 kB / 0.5164 GB, free: 8.793 MB / 382.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 8.355e-05/0.3894, allocations: 127.5 kB / 0.5165 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.3894, allocations: 9.453 kB / 0.5165 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.3895, allocations: 18.89 kB / 0.5165 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3895, allocations: 5.375 kB / 0.5165 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3895, allocations: 0 / 0.5165 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3895, allocations: 5.312 kB / 0.5166 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3898, allocations: 394.5 kB / 0.5169 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3899, allocations: 3.938 kB / 0.5169 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.3899, allocations: 12.23 kB / 0.5169 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3899, allocations: 3.938 kB / 0.5169 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3899, allocations: 6.688 kB / 0.517 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.3899, allocations: 0 / 0.517 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3899, allocations: 5.406 kB / 0.517 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3901, allocations: 196.3 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.3901, allocations: 87.77 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3902, allocations: 5.688 kB / 0.5172 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.3902, allocations: 6.734 kB / 0.5172 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3903, allocations: 6.938 kB / 0.5172 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3903, allocations: 12.12 kB / 0.5173 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3904, allocations: 151.4 kB / 0.5174 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 0.5174 GB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3906, allocations: 28.42 kB / 0.5174 GB, free: 7.828 MB / 382.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.001933/0.3926, allocations: 1.099 MB / 0.5185 GB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3928, allocations: 60.55 kB / 0.5186 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3928, allocations: 0 / 0.5186 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.3928, allocations: 32.77 kB / 0.5186 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3932, allocations: 32.08 kB / 0.5186 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3947, allocations: 1.653 MB / 0.5202 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3948, allocations: 0.7119 MB / 0.5209 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.3949, allocations: 13.19 kB / 0.5209 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.395, allocations: 35.42 kB / 0.521 GB, free: 4.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.395, allocations: 0 / 0.521 GB, free: 4.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4219, allocations: 3.454 MB / 0.5244 GB, free: 0.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.459, allocations: 14.69 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.865063796998584]