Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001279/0.001279, allocations: 95.2 kB / 16.99 MB, free: 5.941 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.001484/0.001484, allocations: 179.8 kB / 17.87 MB, free: 5.609 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.343/1.343, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 61.91 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.001993/0.1238, allocations: 1.387 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1251, allocations: 0.792 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.1252, allocations: 0 / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1255, allocations: 31.77 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1257, allocations: 43.88 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1259, allocations: 95.03 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1261, allocations: 67.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1262, allocations: 12.23 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.19e-05/0.1263, allocations: 39.83 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.1264, allocations: 15.88 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1264, allocations: 4 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.1265, allocations: 27.98 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.1266, allocations: 19.91 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.1266, allocations: 37.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1268, allocations: 80.11 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1268, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1268, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1268, allocations: 4 kB / 474.2 MB, free: 11 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.0005546/0.1274, allocations: 387 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1274, allocations: 16.02 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.992e-05/0.1275, allocations: 38.56 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1275, allocations: 7.906 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1278, allocations: 206.8 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1278, allocations: 7.938 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1278, allocations: 7.953 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.128, allocations: 53.67 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.128, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.128, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.128, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1281, allocations: 23.98 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1285, allocations: 288.8 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1286, allocations: 54.69 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1287, allocations: 0 / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.1289, allocations: 67.5 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.1289, allocations: 3.984 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005838/0.1295, allocations: 165.3 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1295, allocations: 59.34 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1297, allocations: 177.9 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1298, allocations: 25.7 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1298, allocations: 108 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1299, allocations: 27.64 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.1299, allocations: 0 / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.13, allocations: 326.8 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.1301, allocations: 27.98 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.1302, allocations: 33.7 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.1302, allocations: 20 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1302, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001697/0.1304, allocations: 97.53 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1304, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1304, allocations: 7.984 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1305, allocations: 4.031 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.1306, allocations: 12 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1306, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.1306, allocations: 4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1306, allocations: 4 kB / 476.4 MB, free: 8.547 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.0001192/0.1308, allocations: 134.2 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.1308, allocations: 7.906 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.1308, allocations: 16.86 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1308, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1309, allocations: 8.562 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1309, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.1314, allocations: 403.1 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1314, allocations: 4 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1314, allocations: 8 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1314, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1314, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1314, allocations: 0 / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1315, allocations: 8.016 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1317, allocations: 217.9 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.1317, allocations: 85.02 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1318, allocations: 0 / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.1319, allocations: 11.98 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1319, allocations: 11.94 kB / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1319, allocations: 0 / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.132, allocations: 143 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.132, allocations: 0 / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1323, allocations: 24 kB / 477.5 MB, free: 7.367 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.00172/0.134, allocations: 1.169 MB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1342, allocations: 55.98 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1342, allocations: 4 kB / 478.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.1343, allocations: 27.92 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1346, allocations: 30.75 kB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1358, allocations: 0.8161 MB / 479.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1362, allocations: 0.708 MB / 480.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.1363, allocations: 12.88 kB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.1363, allocations: 31.42 kB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1363, allocations: 0 / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.1522, allocations: 2.848 MB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.1525, allocations: 224.2 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.049, allocations: 0 / 483.4 MB, free: 1.621 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat