Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001361/0.001362, allocations: 96.83 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.001579/0.001579, allocations: 181.3 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 396 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.2548/0.2548, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 9.25 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002002/0.1299, allocations: 1.39 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1311, allocations: 0.792 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.1312, allocations: 7.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1313, allocations: 31.83 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1315, allocations: 47.88 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1317, allocations: 99.27 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1318, allocations: 67.84 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.1319, allocations: 4.234 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.1319, allocations: 39.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.132, allocations: 31.84 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.132, allocations: 0 / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.1321, allocations: 24 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.1321, allocations: 19.91 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.1321, allocations: 41.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1323, allocations: 88.09 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1323, allocations: 8 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1323, allocations: 3.938 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1323, allocations: 0 / 474.2 MB, free: 10.96 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.0004077/0.1327, allocations: 410.8 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.1327, allocations: 8.031 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.1328, allocations: 34.56 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.1328, allocations: 15.81 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.133, allocations: 203.4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.133, allocations: 7.938 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1331, allocations: 11.95 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1332, allocations: 49.67 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1332, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1332, allocations: 4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.1332, allocations: 3.938 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.897e-05/0.1333, allocations: 19.98 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1336, allocations: 292.8 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1337, allocations: 54.69 kB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1337, allocations: 7.938 kB / 475.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.1339, allocations: 67.5 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1339, allocations: 0 / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.1343, allocations: 177.4 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1343, allocations: 55.41 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1345, allocations: 226.6 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1346, allocations: 29.7 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1346, allocations: 104.1 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1346, allocations: 27.64 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1347, allocations: 0 / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1348, allocations: 330.8 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.1348, allocations: 20 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.1349, allocations: 33.7 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.135, allocations: 31.92 kB / 476.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.135, allocations: 4 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.1351, allocations: 97.55 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.1351, allocations: 4 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1352, allocations: 4 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.1352, allocations: 4.031 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.1353, allocations: 23.92 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1353, allocations: 0 / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1353, allocations: 8 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1353, allocations: 4 kB / 476.6 MB, free: 8.391 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.279e-05/0.1354, allocations: 133.8 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.1354, allocations: 7.906 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1355, allocations: 25.39 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1355, allocations: 0 / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1355, allocations: 4.188 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1355, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.1359, allocations: 399.1 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1359, allocations: 4 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.136, allocations: 7.984 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.136, allocations: 4 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.136, allocations: 0 / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.136, allocations: 0 / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.136, allocations: 11.97 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1362, allocations: 214 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.1363, allocations: 92.91 kB / 477.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1363, allocations: 4 kB / 477.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.1364, allocations: 4 kB / 477.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1364, allocations: 11.98 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1364, allocations: 3.938 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1365, allocations: 176.2 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1366, allocations: 0 / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1368, allocations: 27.98 kB / 477.7 MB, free: 7.172 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.001364/0.1382, allocations: 1.172 MB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1383, allocations: 63.89 kB / 478.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1384, allocations: 4 kB / 478.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1385, allocations: 27.98 kB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1387, allocations: 28.12 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1399, allocations: 0.9281 MB / 479.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1402, allocations: 0.7199 MB / 480.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.1402, allocations: 13.19 kB / 480.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.1403, allocations: 39.42 kB / 480.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1403, allocations: 0 / 480.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.1571, allocations: 3.067 MB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.1573, allocations: 212.2 kB / 483.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.843, allocations: 0 / 483.9 MB, free: 1.09 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat