Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.0008593/0.0008594, allocations: 100.4 kB / 17 MB, free: 6.844 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.0007952/0.0007951, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.345/1.345, allocations: 223.2 MB / 241.9 MB, free: 344 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.2132/0.2132, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002599/0.1262, allocations: 1.398 MB / 473.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1278, allocations: 0.7998 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1279, allocations: 3.938 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.1283, allocations: 27.89 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1286, allocations: 43.84 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.129, allocations: 90.77 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1292, allocations: 87.73 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.1293, allocations: 12.23 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.1294, allocations: 39.73 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1294, allocations: 31.83 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1295, allocations: 4 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.1296, allocations: 28 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.1296, allocations: 19.92 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.1297, allocations: 37.64 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1298, allocations: 84.09 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1299, allocations: 0 / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1299, allocations: 7.938 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1299, allocations: 0 / 474.4 MB, free: 10.92 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.0005162/0.1304, allocations: 387 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1305, allocations: 16.02 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1305, allocations: 38.5 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1305, allocations: 7.906 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1308, allocations: 202.8 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1308, allocations: 4 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1308, allocations: 15.95 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.131, allocations: 53.67 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.131, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.131, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.131, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.1311, allocations: 23.92 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1315, allocations: 292.8 kB / 475.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.1316, allocations: 50.69 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1317, allocations: 28.84 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1317, allocations: 0 / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.1319, allocations: 63.33 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1319, allocations: 0 / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.1325, allocations: 173.3 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1325, allocations: 51.41 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1327, allocations: 173.9 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1327, allocations: 25.7 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1328, allocations: 104 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1328, allocations: 27.64 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1329, allocations: 0 / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.133, allocations: 330.8 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.133, allocations: 20 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.1331, allocations: 33.7 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/0.1332, allocations: 24 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1332, allocations: 3.984 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001609/0.1333, allocations: 97.52 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1334, allocations: 8 kB / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1334, allocations: 0 / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1334, allocations: 4.031 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1335, allocations: 16.17 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1335, allocations: 7.938 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.1336, allocations: 7.938 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1336, allocations: 4 kB / 476.6 MB, free: 8.438 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.688e-05/0.1337, allocations: 133.6 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1337, allocations: 7.906 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1337, allocations: 12.72 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1337, allocations: 7.984 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1338, allocations: 4 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1338, allocations: 0 / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.1342, allocations: 395.2 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1342, allocations: 384 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1342, allocations: 11.98 kB / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1342, allocations: 4 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1343, allocations: 4 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1343, allocations: 0 / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1343, allocations: 4.031 kB / 477.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1345, allocations: 208.4 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1345, allocations: 89 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1346, allocations: 4 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1346, allocations: 4 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1347, allocations: 11.98 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1347, allocations: 4 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1348, allocations: 131.1 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1348, allocations: 0 / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1351, allocations: 23.98 kB / 477.6 MB, free: 7.293 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.00141/0.1365, allocations: 1.101 MB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1367, allocations: 67.89 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1367, allocations: 64 / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.1368, allocations: 24 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1371, allocations: 27.97 kB / 478.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1381, allocations: 0.6687 MB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1384, allocations: 0.7041 MB / 480.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.1385, allocations: 25.11 kB / 480.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.1386, allocations: 31.42 kB / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.765e-06/0.1386, allocations: 0 / 480.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1525, allocations: 2.862 MB / 483.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1527, allocations: 214.2 kB / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.024, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat