Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001742/0.001742, allocations: 113.9 kB / 17.12 MB, free: 5.93 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.00212/0.00212, allocations: 213 kB / 20.09 MB, free: 2.977 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.76/1.76, allocations: 207.6 MB / 230.5 MB, free: 4.043 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.4799/0.4799, allocations: 44.23 MB / 326.6 MB, free: 6.809 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.002302/0.002302, allocations: 79.88 kB / 462.3 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3817, allocations: 61 MB / 0.511 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004268/0.3859, allocations: 1.723 MB / 0.5127 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3875, allocations: 0.8074 MB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.3876, allocations: 3.938 kB / 0.5135 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.388, allocations: 40.33 kB / 0.5135 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3882, allocations: 56.47 kB / 0.5136 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.3884, allocations: 86.55 kB / 0.5137 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3886, allocations: 97.31 kB / 0.5138 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3887, allocations: 7.812 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.3888, allocations: 53.2 kB / 0.5138 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.3889, allocations: 26.67 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3889, allocations: 3.688 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.389, allocations: 45.95 kB / 0.5139 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.3891, allocations: 22.44 kB / 0.5139 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.3891, allocations: 27.41 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3893, allocations: 118.6 kB / 0.514 GB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3893, allocations: 3.938 kB / 0.5141 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.3893, allocations: 1.375 kB / 0.5141 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3894, allocations: 0 / 0.5141 GB, free: 10.96 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.0005675/0.3899, allocations: 415.6 kB / 0.5145 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.39, allocations: 17.42 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.39, allocations: 34.75 kB / 0.5145 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.3901, allocations: 14.34 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3904, allocations: 207.2 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3904, allocations: 5.734 kB / 0.5147 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.3905, allocations: 10.69 kB / 0.5147 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3906, allocations: 54.05 kB / 0.5148 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3907, allocations: 4 kB / 0.5148 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3907, allocations: 0 / 0.5148 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3907, allocations: 1.375 kB / 0.5148 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.3908, allocations: 26.92 kB / 0.5148 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.3912, allocations: 285.5 kB / 0.5151 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3914, allocations: 53.11 kB / 0.5151 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3914, allocations: 23.84 kB / 0.5152 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3914, allocations: 1.469 kB / 0.5152 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3916, allocations: 72.03 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3916, allocations: 0 / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006607/0.3923, allocations: 178.5 kB / 0.5154 GB, free: 9.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3923, allocations: 56.53 kB / 0.5155 GB, free: 9.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3925, allocations: 182.2 kB / 0.5156 GB, free: 9.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3925, allocations: 30.73 kB / 0.5157 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.3926, allocations: 100.6 kB / 0.5157 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3926, allocations: 24.28 kB / 0.5158 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.3926, allocations: 20.38 kB / 0.5158 GB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.3927, allocations: 326.1 kB / 0.5161 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.3928, allocations: 19.23 kB / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.3928, allocations: 38.64 kB / 0.5162 GB, free: 8.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.3929, allocations: 63.3 kB / 0.5162 GB, free: 8.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3929, allocations: 3.938 kB / 0.5162 GB, free: 8.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.3931, allocations: 99.2 kB / 0.5163 GB, free: 8.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3931, allocations: 6.625 kB / 0.5163 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3931, allocations: 0 / 0.5163 GB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3931, allocations: 5.406 kB / 0.5163 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.3932, allocations: 20.3 kB / 0.5163 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3932, allocations: 5.531 kB / 0.5164 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.3933, allocations: 9.469 kB / 0.5164 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3933, allocations: 4.125 kB / 0.5164 GB, free: 8.766 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 7.745e-05/0.3934, allocations: 121.5 kB / 0.5165 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3934, allocations: 13.55 kB / 0.5165 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.3934, allocations: 14.22 kB / 0.5165 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.3934, allocations: 1.312 kB / 0.5165 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3935, allocations: 4 kB / 0.5165 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3935, allocations: 3.938 kB / 0.5165 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.3938, allocations: 398.8 kB / 0.5169 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3938, allocations: 384 / 0.5169 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.3939, allocations: 11.19 kB / 0.5169 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3939, allocations: 5.219 kB / 0.5169 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3939, allocations: 9.594 kB / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3939, allocations: 0 / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3939, allocations: 1.594 kB / 0.5169 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3941, allocations: 196.2 kB / 0.5171 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.3941, allocations: 95.47 kB / 0.5172 GB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3941, allocations: 5.344 kB / 0.5172 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.3942, allocations: 2.875 kB / 0.5172 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3942, allocations: 6.984 kB / 0.5172 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3942, allocations: 8.031 kB / 0.5172 GB, free: 7.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.3943, allocations: 145.1 kB / 0.5174 GB, free: 7.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3943, allocations: 0 / 0.5174 GB, free: 7.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3946, allocations: 28.42 kB / 0.5174 GB, free: 7.809 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.002002/0.3966, allocations: 1.103 MB / 0.5185 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3968, allocations: 55.53 kB / 0.5185 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3968, allocations: 0 / 0.5185 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.3969, allocations: 36.55 kB / 0.5186 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3972, allocations: 28.2 kB / 0.5186 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3987, allocations: 1.629 MB / 0.5202 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.3988, allocations: 0.7041 MB / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.3989, allocations: 17.17 kB / 0.5209 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.399, allocations: 35.42 kB / 0.5209 GB, free: 4.344 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.399, allocations: 3.938 kB / 0.5209 GB, free: 4.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.4249, allocations: 3.383 MB / 0.5242 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.42, allocations: 7.906 kB / 0.5242 GB, free: 0.875 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_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_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.908548387989867]