Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001697/0.001697, allocations: 114.4 kB / 17.12 MB, free: 5.953 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.00197/0.00197, allocations: 204 kB / 20.09 MB, free: 3 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.802/1.802, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3687/0.3687, allocations: 44.24 MB / 326.6 MB, free: 6.836 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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.002491/0.002491, allocations: 71.91 kB / 462.3 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2922, allocations: 61.01 MB / 0.511 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003511/0.2958, allocations: 1.855 MB / 0.5128 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2972, allocations: 0.9054 MB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.2973, allocations: 3.938 kB / 0.5137 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.2978, allocations: 258.6 kB / 0.514 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.2981, allocations: 191.1 kB / 0.5141 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2986, allocations: 145.5 kB / 0.5143 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.2989, allocations: 245.8 kB / 0.5145 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.299, allocations: 21 kB / 0.5145 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2992, allocations: 131.5 kB / 0.5147 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.2994, allocations: 196.3 kB / 0.5149 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.2995, allocations: 7.562 kB / 0.5149 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2996, allocations: 46.23 kB / 0.5149 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.2997, allocations: 63.72 kB / 0.515 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.2997, allocations: 85.38 kB / 0.515 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3, allocations: 232 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3, allocations: 1.375 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3, allocations: 3.938 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3001, allocations: 0 / 0.5153 GB, free: 10.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006634/0.3007, allocations: 0.5609 MB / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3008, allocations: 12.11 kB / 0.5158 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.3008, allocations: 45.42 kB / 0.5159 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.3009, allocations: 29.12 kB / 0.5159 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3013, allocations: 286.8 kB / 0.5162 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3013, allocations: 7.062 kB / 0.5162 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.3013, allocations: 8.062 kB / 0.5162 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3015, allocations: 97.48 kB / 0.5163 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3016, allocations: 5.312 kB / 0.5163 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3016, allocations: 4 kB / 0.5163 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3016, allocations: 5.359 kB / 0.5163 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.3017, allocations: 36.59 kB / 0.5163 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.3023, allocations: 457.3 kB / 0.5168 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3026, allocations: 111.7 kB / 0.5169 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.3027, allocations: 40.61 kB / 0.5169 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3027, allocations: 6.406 kB / 0.5169 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3029, allocations: 105.1 kB / 0.517 GB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3029, allocations: 1.031 kB / 0.517 GB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009062/0.3038, allocations: 385.2 kB / 0.5174 GB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3039, allocations: 93.05 kB / 0.5175 GB, free: 8.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.3043, allocations: 477.7 kB / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3043, allocations: 29.7 kB / 0.518 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.3044, allocations: 164.3 kB / 0.5181 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.3044, allocations: 55.55 kB / 0.5182 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.3045, allocations: 33.72 kB / 0.5182 GB, free: 7.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.3046, allocations: 346.8 kB / 0.5185 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.3046, allocations: 40.17 kB / 0.5186 GB, free: 6.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.3047, allocations: 79.34 kB / 0.5187 GB, free: 6.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3049, allocations: 115.4 kB / 0.5188 GB, free: 6.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3049, allocations: 0 / 0.5188 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002829/0.3052, allocations: 193.3 kB / 0.5189 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3052, allocations: 8 kB / 0.519 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3052, allocations: 0 / 0.519 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3052, allocations: 0 / 0.519 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3054, allocations: 35.92 kB / 0.519 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3054, allocations: 7.922 kB / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.3055, allocations: 8 kB / 0.519 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3055, allocations: 8 kB / 0.519 GB, free: 6.477 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000134/0.3056, allocations: 165.9 kB / 0.5192 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.3057, allocations: 31.81 kB / 0.5192 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.3057, allocations: 46.73 kB / 0.5192 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.3057, allocations: 7.938 kB / 0.5193 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3057, allocations: 0 / 0.5193 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3058, allocations: 0 / 0.5193 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.3064, allocations: 0.6323 MB / 0.5199 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3064, allocations: 0 / 0.5199 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.3064, allocations: 23.92 kB / 0.5199 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3064, allocations: 4 kB / 0.5199 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3065, allocations: 4 kB / 0.5199 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3065, allocations: 4 kB / 0.5199 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3065, allocations: 0 / 0.5199 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.3068, allocations: 368.3 kB / 0.5203 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.3068, allocations: 104.9 kB / 0.5204 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.3068, allocations: 11.98 kB / 0.5204 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.307, allocations: 4 kB / 0.5204 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.307, allocations: 19.92 kB / 0.5204 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.307, allocations: 4 kB / 0.5204 GB, free: 4.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.3073, allocations: 367.1 kB / 0.5207 GB, free: 4.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 0.5207 GB, free: 4.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.3076, allocations: 43.98 kB / 0.5208 GB, free: 4.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002001/0.3096, allocations: 1.27 MB / 0.522 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.3099, allocations: 115.9 kB / 0.5221 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3099, allocations: 0 / 0.5221 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.31, allocations: 59.84 kB / 0.5222 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.3106, allocations: 60.83 kB / 0.5222 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3132, allocations: 2.756 MB / 0.5249 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3135, allocations: 0.7671 MB / 0.5257 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3137, allocations: 37.92 kB / 0.5257 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3138, allocations: 87.41 kB / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3138, allocations: 0 / 0.5258 GB, free: 15.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.3416, allocations: 6 MB / 0.5317 GB, free: 9.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.538, allocations: 13.75 kB / 0.5317 GB, free: 9.18 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! Error: Could not read variable t_new_2.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv. Warning: Get data of variable t_new_2.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! Error: Could not read variable d_t_new_2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv. Warning: Get data of variable d_t_new_2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.977120673007448]