Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001114/0.001114, allocations: 96.41 kB / 17 MB, free: 6.531 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.001336/0.001337, allocations: 182.2 kB / 17.88 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.355/1.355, allocations: 223.2 MB / 241.9 MB, free: 240 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.222/0.222, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 14.59 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002142/0.1258, allocations: 1.402 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1272, allocations: 0.7998 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.1273, allocations: 7.938 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1276, allocations: 27.89 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1278, allocations: 43.83 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1281, allocations: 95.77 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.1283, allocations: 79.77 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.1284, allocations: 8.234 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.1285, allocations: 47.7 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.1285, allocations: 23.86 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1286, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.1286, allocations: 35.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.1287, allocations: 19.91 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.1288, allocations: 41.64 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1289, allocations: 80.11 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1289, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1289, allocations: 3.938 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1289, allocations: 0 / 474.4 MB, free: 10.89 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.0005141/0.1295, allocations: 397.2 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1295, allocations: 12.03 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1296, allocations: 38.55 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1296, allocations: 11.81 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1299, allocations: 210.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1299, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1299, allocations: 11.95 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1301, allocations: 53.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1301, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1301, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1301, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.1302, allocations: 23.92 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.1306, allocations: 288.9 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1308, allocations: 50.69 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1308, allocations: 24.84 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1309, allocations: 0 / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1311, allocations: 75.33 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1311, allocations: 0 / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005389/0.1316, allocations: 169.2 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1317, allocations: 55.41 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1318, allocations: 186.2 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1319, allocations: 25.7 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.1319, allocations: 104.1 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.132, allocations: 19.72 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.132, allocations: 12 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1321, allocations: 322.8 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1322, allocations: 19.98 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.1322, allocations: 33.7 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.1323, allocations: 24 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1323, allocations: 4 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.1325, allocations: 101.5 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1325, allocations: 8 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1325, allocations: 0 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1325, allocations: 4 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.1326, allocations: 16.12 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1327, allocations: 0 / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.1327, allocations: 15.92 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1327, allocations: 0 / 476.6 MB, free: 8.383 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.0001103/0.1328, allocations: 130.3 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.1329, allocations: 11.91 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.1329, allocations: 20.86 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.1329, allocations: 7.984 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1329, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.133, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.1334, allocations: 391.3 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1334, allocations: 0 / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.1335, allocations: 12.36 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1335, allocations: 8.031 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1335, allocations: 8 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1335, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1335, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1337, allocations: 208.1 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.1338, allocations: 93 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1338, allocations: 4 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.1339, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1339, allocations: 11.98 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1339, allocations: 4 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1341, allocations: 139.2 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1341, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1343, allocations: 23.98 kB / 477.7 MB, free: 7.219 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.001449/0.1358, allocations: 1.105 MB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.136, allocations: 63.91 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.136, allocations: 0 / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.1361, allocations: 27.98 kB / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1364, allocations: 23.98 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1376, allocations: 0.6887 MB / 479.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1379, allocations: 0.7121 MB / 480.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.138, allocations: 20.86 kB / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.138, allocations: 27.42 kB / 480.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.138, allocations: 7.938 kB / 480.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.152, allocations: 2.927 MB / 483.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.1523, allocations: 223.1 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.031, allocations: 0 / 483.5 MB, free: 1.582 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat