Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001094/0.001094, allocations: 96.78 kB / 17 MB, free: 6.418 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.001211/0.001211, allocations: 189.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.352/1.352, allocations: 223.2 MB / 241.9 MB, free: 368 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.2541/0.2541, allocations: 44.22 MB / 337.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.000336, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002329/0.1302, allocations: 1.398 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1316, allocations: 0.7998 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1317, allocations: 7.938 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.132, allocations: 43.86 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.1322, allocations: 51.81 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.1325, allocations: 87.78 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1327, allocations: 87.75 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1328, allocations: 8.219 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.1329, allocations: 47.72 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.133, allocations: 27.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.133, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1331, allocations: 43.91 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1332, allocations: 27.91 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.1333, allocations: 41.64 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1334, allocations: 92.08 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1334, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1335, allocations: 7.938 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1335, allocations: 0 / 474.4 MB, free: 10.85 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.0006164/0.1341, allocations: 418.7 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1342, allocations: 16.03 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1342, allocations: 30.56 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1342, allocations: 11.91 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1345, allocations: 214.6 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1345, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1346, allocations: 7.953 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1347, allocations: 53.67 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1347, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1347, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1348, allocations: 4 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.1348, allocations: 19.98 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1353, allocations: 300.9 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1354, allocations: 50.62 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.1355, allocations: 24.84 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1355, allocations: 8 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1357, allocations: 63.3 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1357, allocations: 0 / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.1363, allocations: 189 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1364, allocations: 51.41 kB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.1366, allocations: 262.3 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1366, allocations: 29.7 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.1367, allocations: 120.1 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1368, allocations: 23.69 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1368, allocations: 4 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1369, allocations: 326.8 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.137, allocations: 23.98 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.137, allocations: 33.7 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.1371, allocations: 24 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1371, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.1373, allocations: 109.4 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1373, allocations: 4 kB / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1373, allocations: 0 / 476.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1373, allocations: 7.984 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.1374, allocations: 12.19 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1374, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1375, allocations: 11.88 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1375, allocations: 8.031 kB / 476.8 MB, free: 8.195 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.0001049/0.1376, allocations: 142.2 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1377, allocations: 19.8 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.1377, allocations: 21.41 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1377, allocations: 0 / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1377, allocations: 0 / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1377, allocations: 0 / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.1381, allocations: 407.3 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1382, allocations: 0 / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1382, allocations: 8 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1382, allocations: 4 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1382, allocations: 7.984 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1382, allocations: 0 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1382, allocations: 240 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1384, allocations: 216.1 kB / 477.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.1385, allocations: 92.92 kB / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1385, allocations: 3.984 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.1386, allocations: 4 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1387, allocations: 4 kB / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1387, allocations: 11.98 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1388, allocations: 188.5 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1388, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1391, allocations: 27.98 kB / 478 MB, free: 6.957 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.001452/0.1406, allocations: 1.12 MB / 479.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1408, allocations: 51.97 kB / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1408, allocations: 0 / 479.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1408, allocations: 31.94 kB / 479.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1412, allocations: 23.97 kB / 479.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1424, allocations: 0.8667 MB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1427, allocations: 0.7121 MB / 480.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.1428, allocations: 17.17 kB / 480.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.1428, allocations: 47.36 kB / 480.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1428, allocations: 7.938 kB / 480.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1568, allocations: 3.236 MB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.1571, allocations: 220.9 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.037, allocations: 3.938 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat