Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.001461/0.001461, allocations: 110 kB / 19.69 MB, free: 2.203 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.001436/0.001436, allocations: 219.3 kB / 23 MB, free: 5.043 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.443/1.443, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.2215/0.2215, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.002197/0.002197, allocations: 71.91 kB / 467.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1176, allocations: 61.04 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.00331/0.1209, allocations: 1.73 MB / 0.5179 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1231, allocations: 1.509 MB / 0.5194 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.1232, allocations: 3.938 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1235, allocations: 39.83 kB / 0.5194 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1237, allocations: 63.69 kB / 0.5195 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1239, allocations: 87.77 kB / 0.5196 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1241, allocations: 99.62 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.455e-05/0.1242, allocations: 8.219 kB / 0.5197 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.1243, allocations: 47.77 kB / 0.5197 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1244, allocations: 35.86 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.1244, allocations: 4 kB / 0.5197 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1246, allocations: 63.95 kB / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1246, allocations: 15.92 kB / 0.5198 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.693e-05/0.1247, allocations: 43.73 kB / 0.5199 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.1249, allocations: 119.5 kB / 0.52 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1249, allocations: 0 / 0.52 GB, free: 3.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1249, allocations: 4 kB / 0.52 GB, free: 3.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1249, allocations: 0 / 0.52 GB, free: 3.387 MB / 398.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.0005381/0.1254, allocations: 325.7 kB / 0.5203 GB, free: 3.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1255, allocations: 12.03 kB / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1255, allocations: 38.73 kB / 0.5203 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.1256, allocations: 8.891 kB / 0.5203 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1258, allocations: 138.4 kB / 0.5205 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1259, allocations: 8.375 kB / 0.5205 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1259, allocations: 11.88 kB / 0.5205 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1261, allocations: 67.39 kB / 0.5206 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1261, allocations: 0 / 0.5206 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1261, allocations: 0 / 0.5206 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1261, allocations: 0 / 0.5206 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.1262, allocations: 19.98 kB / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1265, allocations: 259.9 kB / 0.5208 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1267, allocations: 62.61 kB / 0.5209 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.1268, allocations: 16.86 kB / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1268, allocations: 7.984 kB / 0.5209 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.127, allocations: 63.39 kB / 0.521 GB, free: 2.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.127, allocations: 4 kB / 0.521 GB, free: 2.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005327/0.1275, allocations: 165.4 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1276, allocations: 81.09 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1277, allocations: 157.2 kB / 0.5214 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.1277, allocations: 29.7 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1278, allocations: 100.1 kB / 0.5215 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1278, allocations: 23.8 kB / 0.5215 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1279, allocations: 29.64 kB / 0.5215 GB, free: 1.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.128, allocations: 326.8 kB / 0.5218 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.1281, allocations: 16 kB / 0.5219 GB, free: 1.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.1281, allocations: 42.56 kB / 0.5219 GB, free: 1.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.1282, allocations: 57.7 kB / 0.522 GB, free: 1.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1282, allocations: 4.375 kB / 0.522 GB, free: 1.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.1284, allocations: 101.6 kB / 0.5221 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1285, allocations: 7.984 kB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1285, allocations: 0 / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1285, allocations: 4 kB / 0.5221 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.1286, allocations: 19.94 kB / 0.5221 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1286, allocations: 4.094 kB / 0.5221 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.1286, allocations: 11.94 kB / 0.5221 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1286, allocations: 7.969 kB / 0.5221 GB, free: 0.9805 MB / 398.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 0.0001057/0.1287, allocations: 121.8 kB / 0.5222 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1288, allocations: 11.98 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.129, allocations: 114.3 kB / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.129, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.129, allocations: 0 / 0.5223 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.129, allocations: 11.88 kB / 0.5224 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.1295, allocations: 354.5 kB / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1295, allocations: 0 / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.1295, allocations: 15.92 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1295, allocations: 7.969 kB / 0.5227 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1295, allocations: 0 / 0.5227 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1295, allocations: 4 kB / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1295, allocations: 0 / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1297, allocations: 196.3 kB / 0.5229 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.1298, allocations: 3.953 kB / 0.5229 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1298, allocations: 11.94 kB / 0.5229 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1299, allocations: 3.984 kB / 0.5229 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1299, allocations: 11.94 kB / 0.5229 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1299, allocations: 7.984 kB / 0.5229 GB, free: 32 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.13, allocations: 115.3 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.13, allocations: 192 / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1303, allocations: 35.88 kB / 0.5231 GB, free: 15.88 MB / 414.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.002229/0.1326, allocations: 1.136 MB / 0.5242 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1328, allocations: 59.92 kB / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1328, allocations: 0 / 0.5243 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.1328, allocations: 27.92 kB / 0.5243 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1332, allocations: 27.91 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.135, allocations: 1.562 MB / 0.5258 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1353, allocations: 0.6962 MB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.781e-05/0.1354, allocations: 29.41 kB / 0.5265 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.1354, allocations: 31.42 kB / 0.5266 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1354, allocations: 0 / 0.5266 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.1666, allocations: 3.725 MB / 0.5302 GB, free: 8.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/10.99, allocations: 11.95 kB / 0.5302 GB, free: 8.359 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.195764611999039]