Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.0009443/0.0009444, allocations: 95.86 kB / 17 MB, free: 6.352 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.001148/0.001148, allocations: 184.1 kB / 17.89 MB, free: 5.926 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.403/1.403, allocations: 223.2 MB / 241.9 MB, free: 48 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.2355/0.2355, allocations: 44.23 MB / 337.2 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 17.16 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.001805/0.1259, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1271, allocations: 0.7959 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.1272, allocations: 7.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1275, allocations: 71.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1277, allocations: 75.78 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1279, allocations: 87.83 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1281, allocations: 91.69 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.1282, allocations: 8.219 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.1283, allocations: 51.7 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.769e-05/0.1284, allocations: 47.83 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1284, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.1285, allocations: 35.98 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1285, allocations: 19.92 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1286, allocations: 37.64 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1287, allocations: 92.08 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1287, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1287, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1288, allocations: 0 / 474.5 MB, free: 10.79 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.0004551/0.1292, allocations: 410.8 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1293, allocations: 12.03 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.1293, allocations: 38.55 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1293, allocations: 7.906 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1295, allocations: 206.8 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1296, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/0.1296, allocations: 11.94 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1297, allocations: 53.67 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1297, allocations: 0 / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1298, allocations: 3.938 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1298, allocations: 0 / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.1298, allocations: 23.98 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1302, allocations: 292.8 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1303, allocations: 50.67 kB / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.1304, allocations: 24.8 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.1304, allocations: 0 / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1306, allocations: 67.39 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1306, allocations: 0 / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004759/0.1311, allocations: 177.5 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1311, allocations: 55.41 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1313, allocations: 215.2 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.1313, allocations: 25.7 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.1314, allocations: 112 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1314, allocations: 23.73 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1314, allocations: 4 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.1315, allocations: 330.8 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.1316, allocations: 15.98 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.1317, allocations: 37.7 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.1317, allocations: 27.94 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1317, allocations: 4 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.1319, allocations: 97.48 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1319, allocations: 4 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1319, allocations: 8.062 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.1319, allocations: 0 / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.132, allocations: 15.94 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.132, allocations: 4.141 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1321, allocations: 12.17 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.1321, allocations: 4 kB / 476.8 MB, free: 8.223 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 9.326e-05/0.1322, allocations: 138.2 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.1322, allocations: 19.8 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.1323, allocations: 13.41 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1323, allocations: 7.984 kB / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1323, allocations: 0 / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1323, allocations: 0 / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.1327, allocations: 399.3 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1327, allocations: 4.031 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1328, allocations: 8 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1328, allocations: 0 / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1328, allocations: 4 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1328, allocations: 0 / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1328, allocations: 3.938 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.133, allocations: 200.2 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1331, allocations: 96.91 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1331, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.1332, allocations: 8 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1332, allocations: 7.984 kB / 477.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1333, allocations: 4 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1334, allocations: 155.2 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1334, allocations: 0 / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1336, allocations: 27.98 kB / 477.9 MB, free: 7.043 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.001286/0.1349, allocations: 1.108 MB / 479 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1351, allocations: 55.91 kB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1351, allocations: 3.938 kB / 479 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.1352, allocations: 31.98 kB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1355, allocations: 20.3 kB / 479.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1365, allocations: 0.7702 MB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1368, allocations: 0.7083 MB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.012e-05/0.1368, allocations: 16.48 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.1369, allocations: 35.42 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1369, allocations: 3.938 kB / 480.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1513, allocations: 3.026 MB / 483.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1515, allocations: 215.6 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.934, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat