Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001045/0.001045, allocations: 97.02 kB / 17 MB, free: 6.402 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.00135/0.00135, allocations: 179.2 kB / 17.89 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 260 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.2272/0.2272, allocations: 44.22 MB / 337.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002959, allocations: 11.19 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002339/0.1374, allocations: 1.359 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1387, allocations: 0.7881 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.1387, allocations: 3.938 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1391, allocations: 59.8 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1393, allocations: 51.81 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1395, allocations: 87.83 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1398, allocations: 83.69 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.1398, allocations: 7.984 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.1399, allocations: 35.86 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.14, allocations: 43.83 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.14, allocations: 3.938 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.1401, allocations: 27.98 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1402, allocations: 15.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.1402, allocations: 33.7 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1404, allocations: 80.11 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1404, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1404, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1404, allocations: 3.938 kB / 474.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000626/0.1411, allocations: 398.8 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.1411, allocations: 8.031 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.1412, allocations: 34.56 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1412, allocations: 7.906 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1415, allocations: 198.9 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1415, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1415, allocations: 7.953 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1417, allocations: 41.69 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1417, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1417, allocations: 11.98 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1417, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.1418, allocations: 11.94 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.1421, allocations: 185.6 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1424, allocations: 54.61 kB / 475.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1425, allocations: 20.84 kB / 475.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1425, allocations: 7.984 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1428, allocations: 67.28 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1428, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002734/0.1431, allocations: 89.58 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1431, allocations: 59.41 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1433, allocations: 186.1 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1434, allocations: 29.7 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1434, allocations: 100.1 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1435, allocations: 15.8 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1435, allocations: 0 / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1436, allocations: 330.8 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.1437, allocations: 8 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.1438, allocations: 33.64 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.1439, allocations: 16 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1439, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002161/0.1442, allocations: 81.58 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1442, allocations: 11.95 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1442, allocations: 0 / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1442, allocations: 0 / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1444, allocations: 15.88 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1444, allocations: 4 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.1445, allocations: 0 / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1445, allocations: 8.031 kB / 476.3 MB, free: 8.684 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 (7): * Single equations (assignments): 7 * 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.0001171/0.1446, allocations: 122.4 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1446, allocations: 11.81 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1447, allocations: 24.55 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1447, allocations: 7.938 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1447, allocations: 0 / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1447, allocations: 4 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1449, allocations: 181.6 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1449, allocations: 4 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.1449, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1449, allocations: 4 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1449, allocations: 4 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1449, allocations: 7.938 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1449, allocations: 3.938 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1451, allocations: 101 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1452, allocations: 89 kB / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1452, allocations: 0 / 476.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.1453, allocations: 12 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1453, allocations: 7.938 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1454, allocations: 4 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1455, allocations: 139.2 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.1458, allocations: 12 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001473/0.1472, allocations: 0.9621 MB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1474, allocations: 35.98 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1474, allocations: 0 / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.586e-05/0.1475, allocations: 23.92 kB / 478.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.1478, allocations: 27.94 kB / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1489, allocations: 0.6391 MB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.1494, allocations: 0.7043 MB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.1495, allocations: 12.55 kB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.1495, allocations: 27.44 kB / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1496, allocations: 0 / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.1689, allocations: 2.651 MB / 482.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.1692, allocations: 215.4 kB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.968, allocations: 4 kB / 482.4 MB, free: 2.719 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat