Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008146, allocations: 99.2 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008937/0.0008936, allocations: 178 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2314/0.2314, allocations: 44.23 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1263, allocations: 61.93 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001785/0.1281, allocations: 1.398 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1292, allocations: 0.7997 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.1293, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1295, allocations: 39.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1297, allocations: 43.83 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.13, allocations: 91.58 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1301, allocations: 83.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.1302, allocations: 12.23 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.1303, allocations: 43.77 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.1304, allocations: 27.86 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1304, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.1305, allocations: 35.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.1305, allocations: 23.91 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1306, allocations: 37.64 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1308, allocations: 80.11 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1308, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1308, allocations: 3.938 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1308, allocations: 4 kB / 474.4 MB, free: 10.87 MB / 350.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.0004975/0.1313, allocations: 402.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1313, allocations: 12.03 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.1314, allocations: 34.56 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1314, allocations: 7.906 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1317, allocations: 207.5 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1317, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1317, allocations: 11.95 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1319, allocations: 53.67 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1319, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1319, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1319, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.132, allocations: 19.98 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1323, allocations: 288.8 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1325, allocations: 62.67 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1326, allocations: 16.86 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1326, allocations: 4 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1328, allocations: 71.28 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.617e-06/0.1328, allocations: 0 / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005146/0.1333, allocations: 173.1 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1334, allocations: 55.41 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1336, allocations: 207.2 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1336, allocations: 29.7 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.1336, allocations: 100.1 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1337, allocations: 19.7 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.1337, allocations: 4 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1338, allocations: 326.8 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.1339, allocations: 23.98 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.1339, allocations: 41.64 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.134, allocations: 20 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.134, allocations: 0 / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.1342, allocations: 101.5 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1342, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1342, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1342, allocations: 3.984 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1343, allocations: 16.22 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1343, allocations: 4 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.1344, allocations: 3.938 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1344, allocations: 4.375 kB / 476.7 MB, free: 8.34 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1345, allocations: 142.2 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1345, allocations: 15.8 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1346, allocations: 17.55 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1346, allocations: 4 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1346, allocations: 4 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1346, allocations: 4 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.135, allocations: 399.3 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.135, allocations: 0 / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.135, allocations: 11.98 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.135, allocations: 0 / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1351, allocations: 0 / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1351, allocations: 4 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1351, allocations: 0 / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1353, allocations: 216.1 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.1353, allocations: 89 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1354, allocations: 4 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1354, allocations: 4 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1355, allocations: 3.984 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1355, allocations: 4 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1356, allocations: 156.9 kB / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1356, allocations: 0 / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1359, allocations: 24 kB / 477.7 MB, free: 7.156 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.1374, allocations: 1.101 MB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.1375, allocations: 51.98 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1375, allocations: 0 / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.1376, allocations: 32.05 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.138, allocations: 27.98 kB / 479 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1391, allocations: 0.7276 MB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1395, allocations: 0.7082 MB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.1395, allocations: 16.88 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1396, allocations: 39.42 kB / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1396, allocations: 0 / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1533, allocations: 2.979 MB / 483.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.1535, allocations: 217.9 kB / 483.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.94, allocations: 0 / 483.6 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat