Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.001047/0.001047, allocations: 96.48 kB / 16.98 MB, free: 6.398 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.001116/0.001116, allocations: 184 kB / 17.87 MB, free: 5.957 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.494/1.494, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 44.23 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 16 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001962/0.1301, allocations: 1.402 MB / 472.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1314, allocations: 0.8074 MB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.1315, allocations: 0 / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.1319, allocations: 87.8 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1321, allocations: 87.69 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.1323, allocations: 90.64 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1325, allocations: 75.83 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.1326, allocations: 8 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.1327, allocations: 51.81 kB / 474.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.1328, allocations: 47.83 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1328, allocations: 8 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.1329, allocations: 31.98 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.133, allocations: 23.92 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.133, allocations: 45.58 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1332, allocations: 112 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1332, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1332, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1332, allocations: 0 / 474.4 MB, free: 10.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005459/0.1338, allocations: 418.8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1338, allocations: 12.03 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.1339, allocations: 34.56 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1339, allocations: 19.75 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.1342, allocations: 215.5 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1342, allocations: 4 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1342, allocations: 7.891 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1344, allocations: 69.59 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1344, allocations: 0 / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1344, allocations: 0 / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1345, allocations: 8 kB / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.1345, allocations: 19.98 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.1351, allocations: 300.8 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1353, allocations: 66.48 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1354, allocations: 0 / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1356, allocations: 71.52 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.562e-06/0.1357, allocations: 0 / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009104/0.1366, allocations: 249.4 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.1366, allocations: 51.41 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.1369, allocations: 238.3 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.137, allocations: 33.62 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.1371, allocations: 112.1 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.1371, allocations: 35.45 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1372, allocations: 0 / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1374, allocations: 334.8 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1374, allocations: 24 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1375, allocations: 49.69 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.1376, allocations: 35.94 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1376, allocations: 4 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002195/0.1379, allocations: 121.5 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1379, allocations: 4 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1379, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1379, allocations: 4 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.138, allocations: 23.98 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.138, allocations: 0 / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1381, allocations: 4 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1381, allocations: 4 kB / 476.9 MB, free: 7.969 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 (13): * Single equations (assignments): 13 * 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.0001384/0.1383, allocations: 146.3 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1383, allocations: 15.81 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1383, allocations: 25.39 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1384, allocations: 0 / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1384, allocations: 3.938 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1384, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.1389, allocations: 467.9 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1389, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.139, allocations: 12 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.139, allocations: 8 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.139, allocations: 0 / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.139, allocations: 4 kB / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.139, allocations: 0 / 477.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1393, allocations: 260.4 kB / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.1394, allocations: 92.91 kB / 477.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.1394, allocations: 11.95 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.1395, allocations: 4 kB / 478 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1396, allocations: 7.984 kB / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1396, allocations: 4 kB / 478 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1398, allocations: 188.3 kB / 478.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1398, allocations: 3.938 kB / 478.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1401, allocations: 28 kB / 478.2 MB, free: 6.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00153/0.1416, allocations: 1.343 MB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1418, allocations: 75.92 kB / 479.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1418, allocations: 0 / 479.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.1419, allocations: 39.92 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1422, allocations: 36.34 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1435, allocations: 1.025 MB / 480.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1439, allocations: 0.716 MB / 481.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.1439, allocations: 24.62 kB / 481.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.144, allocations: 43.61 kB / 481.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.144, allocations: 4 kB / 481.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.1586, allocations: 3.454 MB / 484.9 MB, free: 44 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.1589, allocations: 215.7 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.826, allocations: 0 / 485.2 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat