Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 117.7 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 190.9 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3441/0.3441, allocations: 44.24 MB / 343.5 MB, free: 7.598 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 74.48 kB / 478.9 MB, free: 24.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1189, allocations: 60.82 MB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003157/0.1221, allocations: 1.705 MB / 0.5288 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.1243, allocations: 1.491 MB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.1244, allocations: 0 / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1247, allocations: 31.84 kB / 0.5302 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1249, allocations: 63.69 kB / 0.5303 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1252, allocations: 107.6 kB / 0.5304 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1254, allocations: 95.69 kB / 0.5305 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.1255, allocations: 12.52 kB / 0.5305 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.1256, allocations: 47.77 kB / 0.5306 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1258, allocations: 31.86 kB / 0.5306 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1258, allocations: 4 kB / 0.5306 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1259, allocations: 63.95 kB / 0.5307 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.126, allocations: 19.86 kB / 0.5307 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.126, allocations: 27.81 kB / 0.5307 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.1263, allocations: 127.5 kB / 0.5308 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1263, allocations: 4 kB / 0.5308 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1263, allocations: 0 / 0.5308 GB, free: 9.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1263, allocations: 4 kB / 0.5308 GB, free: 9.75 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.0005948/0.1269, allocations: 404.5 kB / 0.5312 GB, free: 9.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.127, allocations: 16.02 kB / 0.5312 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.127, allocations: 30.75 kB / 0.5313 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1271, allocations: 8.891 kB / 0.5313 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.1274, allocations: 216.1 kB / 0.5315 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1274, allocations: 384 / 0.5315 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1274, allocations: 7.938 kB / 0.5315 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1276, allocations: 67.39 kB / 0.5315 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1276, allocations: 0 / 0.5315 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1276, allocations: 8 kB / 0.5315 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1276, allocations: 0 / 0.5315 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1277, allocations: 15.98 kB / 0.5316 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1281, allocations: 284.8 kB / 0.5318 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1282, allocations: 58.67 kB / 0.5319 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.189e-05/0.1283, allocations: 16.86 kB / 0.5319 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1283, allocations: 3.984 kB / 0.5319 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1285, allocations: 75.33 kB / 0.532 GB, free: 8.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1285, allocations: 0 / 0.532 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005184/0.129, allocations: 181.3 kB / 0.5322 GB, free: 8.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.1291, allocations: 85.03 kB / 0.5322 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1293, allocations: 151.7 kB / 0.5324 GB, free: 7.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1293, allocations: 29.7 kB / 0.5324 GB, free: 7.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1294, allocations: 96.12 kB / 0.5325 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1294, allocations: 19.86 kB / 0.5325 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1294, allocations: 25.7 kB / 0.5325 GB, free: 7.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1296, allocations: 326.8 kB / 0.5329 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.1296, allocations: 16 kB / 0.5329 GB, free: 7.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.1297, allocations: 42.56 kB / 0.5329 GB, free: 7.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1298, allocations: 57.64 kB / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1299, allocations: 0 / 0.533 GB, free: 7.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.13, allocations: 101.6 kB / 0.5331 GB, free: 7.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1301, allocations: 8.062 kB / 0.5331 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1301, allocations: 7.969 kB / 0.5331 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1301, allocations: 0 / 0.5331 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.1302, allocations: 19.94 kB / 0.5331 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1302, allocations: 0 / 0.5331 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1303, allocations: 7.938 kB / 0.5331 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1303, allocations: 7.984 kB / 0.5331 GB, free: 7.145 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 9.773e-05/0.1304, allocations: 117.8 kB / 0.5332 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1304, allocations: 11.91 kB / 0.5332 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1305, allocations: 20.66 kB / 0.5333 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1305, allocations: 0 / 0.5333 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1305, allocations: 3.984 kB / 0.5333 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1305, allocations: 3.938 kB / 0.5333 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1309, allocations: 387.3 kB / 0.5336 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.131, allocations: 0 / 0.5336 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.131, allocations: 8 kB / 0.5336 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.131, allocations: 7.938 kB / 0.5337 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.131, allocations: 8.016 kB / 0.5337 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.131, allocations: 3.938 kB / 0.5337 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.131, allocations: 4 kB / 0.5337 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1313, allocations: 200.9 kB / 0.5339 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1313, allocations: 85.06 kB / 0.5339 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1314, allocations: 3.938 kB / 0.5339 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1315, allocations: 15.98 kB / 0.534 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1315, allocations: 8.188 kB / 0.534 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1315, allocations: 4 kB / 0.534 GB, free: 6.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1316, allocations: 121.1 kB / 0.5341 GB, free: 6.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1316, allocations: 0 / 0.5341 GB, free: 6.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1319, allocations: 31.92 kB / 0.5341 GB, free: 6.012 MB / 398.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.00219/0.1341, allocations: 1.146 MB / 0.5352 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1343, allocations: 55.91 kB / 0.5353 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1343, allocations: 0 / 0.5353 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1344, allocations: 35.92 kB / 0.5353 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1348, allocations: 26.16 kB / 0.5353 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1365, allocations: 1.539 MB / 0.5369 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1368, allocations: 0.7002 MB / 0.5375 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.1369, allocations: 20.81 kB / 0.5376 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1369, allocations: 35.42 kB / 0.5376 GB, free: 2.531 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.137, allocations: 0 / 0.5376 GB, free: 2.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.164, allocations: 3.543 MB / 0.541 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.01, allocations: 14.67 kB / 0.5411 GB, free: 14.99 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.069258812000044]