Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001899/0.001899, allocations: 114.5 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.002703/0.002703, 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.469/1.469, 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.3279/0.3279, allocations: 44.24 MB / 326.6 MB, free: 6.828 MB / 254.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002222/0.002222, allocations: 79.89 kB / 462.3 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2934, allocations: 61 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003177/0.2966, allocations: 1.713 MB / 0.5127 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2977, allocations: 0.8137 MB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.2978, allocations: 1.906 kB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.2981, allocations: 81.11 kB / 0.5136 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2984, allocations: 82.56 kB / 0.5136 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2986, allocations: 89.58 kB / 0.5137 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.2988, allocations: 107.5 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.2989, allocations: 12.59 kB / 0.5138 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.299, allocations: 55.33 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.2991, allocations: 58.72 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2991, allocations: 5.375 kB / 0.514 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.2992, allocations: 45.56 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.2992, allocations: 27.89 kB / 0.514 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.2993, allocations: 32.94 kB / 0.5141 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.2994, allocations: 111.9 kB / 0.5142 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2994, allocations: 3.938 kB / 0.5142 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2994, allocations: 1.625 kB / 0.5142 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.2994, allocations: 4 kB / 0.5142 GB, free: 10.85 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.0004713/0.2999, allocations: 425.3 kB / 0.5146 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3, allocations: 13.48 kB / 0.5146 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.3, allocations: 32.12 kB / 0.5146 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3, allocations: 14.34 kB / 0.5146 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3002, allocations: 215.2 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3002, allocations: 1.75 kB / 0.5148 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3003, allocations: 10.67 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3004, allocations: 62.05 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3004, allocations: 0 / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3004, allocations: 5.359 kB / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3004, allocations: 0 / 0.5149 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.3005, allocations: 22.98 kB / 0.5149 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.3008, allocations: 292.2 kB / 0.5152 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.301, allocations: 51.19 kB / 0.5153 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.301, allocations: 21.09 kB / 0.5153 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.301, allocations: 1.375 kB / 0.5153 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.3012, allocations: 69.08 kB / 0.5153 GB, free: 9.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3012, allocations: 0 / 0.5153 GB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.3017, allocations: 182.5 kB / 0.5155 GB, free: 9.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3017, allocations: 60.31 kB / 0.5156 GB, free: 9.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3019, allocations: 216.5 kB / 0.5158 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3019, allocations: 30.97 kB / 0.5158 GB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.302, allocations: 101.2 kB / 0.5159 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.302, allocations: 23.75 kB / 0.5159 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.302, allocations: 21.31 kB / 0.516 GB, free: 9.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.3021, allocations: 321.4 kB / 0.5163 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3021, allocations: 27.11 kB / 0.5163 GB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.3022, allocations: 36.17 kB / 0.5163 GB, free: 8.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3023, allocations: 62.52 kB / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3023, allocations: 0 / 0.5164 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.3025, allocations: 99.91 kB / 0.5165 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3025, allocations: 6.188 kB / 0.5165 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3025, allocations: 0 / 0.5165 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3025, allocations: 5.438 kB / 0.5165 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.3026, allocations: 20.77 kB / 0.5165 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3026, allocations: 6.156 kB / 0.5165 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.3027, allocations: 10 kB / 0.5165 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.3027, allocations: 2 kB / 0.5165 GB, free: 8.625 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.462e-05/0.3027, allocations: 125 kB / 0.5166 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3028, allocations: 9.703 kB / 0.5167 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.3028, allocations: 24.11 kB / 0.5167 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3028, allocations: 4 kB / 0.5167 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3028, allocations: 1.562 kB / 0.5167 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3028, allocations: 4.312 kB / 0.5167 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3032, allocations: 398.3 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3032, allocations: 5.531 kB / 0.5171 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.3032, allocations: 6.594 kB / 0.5171 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3032, allocations: 5 kB / 0.5171 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3032, allocations: 6.734 kB / 0.5171 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3032, allocations: 3.938 kB / 0.5171 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3032, allocations: 5.531 kB / 0.5171 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.3034, allocations: 201.2 kB / 0.5173 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.3034, allocations: 87.61 kB / 0.5174 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3035, allocations: 5.25 kB / 0.5174 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3035, allocations: 6.328 kB / 0.5174 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3036, allocations: 6.875 kB / 0.5174 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3036, allocations: 7.656 kB / 0.5174 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3037, allocations: 156.3 kB / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3037, allocations: 0 / 0.5175 GB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.3039, allocations: 24.48 kB / 0.5176 GB, free: 7.66 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.001914/0.3059, allocations: 1.11 MB / 0.5187 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.306, allocations: 55.53 kB / 0.5187 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.306, allocations: 1.438 kB / 0.5187 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.3061, allocations: 31.11 kB / 0.5187 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3065, allocations: 28.2 kB / 0.5188 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3078, allocations: 1.693 MB / 0.5204 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3079, allocations: 0.7119 MB / 0.5211 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.308, allocations: 16.8 kB / 0.5211 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.308, allocations: 39.41 kB / 0.5212 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.308, allocations: 0 / 0.5212 GB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.3309, allocations: 3.508 MB / 0.5246 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/8.725, allocations: 2.766 kB / 0.5246 GB, free: 0.5273 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.698416707993601]