Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001343/0.001343, allocations: 111.9 kB / 17.12 MB, free: 5.941 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.001611/0.001611, allocations: 212.3 kB / 20.09 MB, free: 2.984 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.871/1.871, allocations: 207.6 MB / 230.5 MB, free: 3.996 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.4353/0.4353, allocations: 44.24 MB / 326.6 MB, free: 6.824 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.002288/0.002288, allocations: 67.89 kB / 462.3 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3772, allocations: 61.01 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002911/0.3801, allocations: 1.705 MB / 0.5127 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3814, allocations: 0.803 MB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.3814, allocations: 5.812 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3818, allocations: 44.78 kB / 0.5135 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.382, allocations: 54.05 kB / 0.5136 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3822, allocations: 87.03 kB / 0.5137 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3824, allocations: 97.39 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.3825, allocations: 12.2 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.426e-05/0.3826, allocations: 52.25 kB / 0.5138 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.3827, allocations: 29.77 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3827, allocations: 4.438 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.3828, allocations: 42.58 kB / 0.5139 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.3828, allocations: 23.28 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.3829, allocations: 31.05 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3831, allocations: 118.6 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3831, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3831, allocations: 0 / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3831, allocations: 1.375 kB / 0.514 GB, free: 10.88 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.0004992/0.3836, allocations: 415.2 kB / 0.5144 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3836, allocations: 12.73 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.3837, allocations: 36.58 kB / 0.5145 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.3837, allocations: 12.56 kB / 0.5145 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.384, allocations: 219.9 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.384, allocations: 1.969 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.384, allocations: 5.531 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3841, allocations: 58.58 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3842, allocations: 4 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3842, allocations: 1.375 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3842, allocations: 0 / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.3842, allocations: 18.98 kB / 0.5148 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3846, allocations: 285.5 kB / 0.5151 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3847, allocations: 56.5 kB / 0.5151 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.3848, allocations: 25.09 kB / 0.5151 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3848, allocations: 0 / 0.5151 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.3849, allocations: 70.47 kB / 0.5152 GB, free: 9.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3849, allocations: 0 / 0.5152 GB, free: 9.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005159/0.3854, allocations: 173 kB / 0.5154 GB, free: 9.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.3855, allocations: 52.78 kB / 0.5154 GB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3856, allocations: 194.2 kB / 0.5156 GB, free: 9.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3856, allocations: 27.11 kB / 0.5156 GB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.3857, allocations: 105.4 kB / 0.5157 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3857, allocations: 14.61 kB / 0.5158 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3857, allocations: 28.77 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.3858, allocations: 322.1 kB / 0.5161 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.3858, allocations: 18.84 kB / 0.5161 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.3859, allocations: 47.92 kB / 0.5162 GB, free: 8.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.386, allocations: 58.94 kB / 0.5162 GB, free: 8.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.386, allocations: 3.938 kB / 0.5162 GB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.3862, allocations: 104.1 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3862, allocations: 4.531 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3862, allocations: 1.125 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3862, allocations: 1.031 kB / 0.5163 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.3863, allocations: 20.3 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3863, allocations: 1.062 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.3864, allocations: 6.156 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3864, allocations: 3.312 kB / 0.5163 GB, free: 8.691 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.749e-05/0.3865, allocations: 134.2 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.3865, allocations: 8.672 kB / 0.5165 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3865, allocations: 18.58 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3865, allocations: 0 / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3865, allocations: 1.406 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3866, allocations: 7.938 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.3869, allocations: 398.1 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3869, allocations: 0 / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.387, allocations: 8.438 kB / 0.5169 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.387, allocations: 3.938 kB / 0.5169 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.387, allocations: 6.641 kB / 0.5169 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.387, allocations: 4.234 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.387, allocations: 1.281 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3872, allocations: 208.2 kB / 0.5171 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.3872, allocations: 87.8 kB / 0.5172 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.3872, allocations: 5.344 kB / 0.5172 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.3873, allocations: 6.812 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3873, allocations: 10.75 kB / 0.5172 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.3873, allocations: 4.25 kB / 0.5172 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.3874, allocations: 148.9 kB / 0.5174 GB, free: 7.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3874, allocations: 0 / 0.5174 GB, free: 7.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3877, allocations: 21 kB / 0.5174 GB, free: 7.727 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.001898/0.3896, allocations: 1.11 MB / 0.5185 GB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3898, allocations: 48.98 kB / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3898, allocations: 0 / 0.5185 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.3899, allocations: 27.17 kB / 0.5185 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3902, allocations: 33.64 kB / 0.5186 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3916, allocations: 1.626 MB / 0.5202 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3917, allocations: 0.708 MB / 0.5209 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.3918, allocations: 12.88 kB / 0.5209 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3918, allocations: 35.42 kB / 0.5209 GB, free: 4.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3918, allocations: 3.938 kB / 0.5209 GB, free: 4.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.417, allocations: 3.391 MB / 0.5242 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.365, allocations: 3.906 kB / 0.5242 GB, free: 0.8867 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.916016012997716]