Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.0007383/0.0007383, allocations: 98.23 kB / 17 MB, free: 6.391 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.000836/0.0008363, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.424/1.424, 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.2139/0.2139, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002839/0.1281, allocations: 1.425 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1295, allocations: 0.8075 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.1296, allocations: 4 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.1299, allocations: 103.7 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1301, allocations: 71.77 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1304, allocations: 95.83 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1307, allocations: 111.7 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1308, allocations: 16 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.212e-05/0.1309, allocations: 55.75 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.131, allocations: 55.77 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.131, allocations: 4 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1311, allocations: 51.97 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.1312, allocations: 27.91 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.1313, allocations: 41.64 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1314, allocations: 112 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1314, allocations: 3.938 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1314, allocations: 4 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1315, allocations: 0 / 474.6 MB, free: 10.62 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005711/0.132, allocations: 438.7 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1321, allocations: 8.031 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.1321, allocations: 38.5 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.1322, allocations: 15.81 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1324, allocations: 214.7 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1325, allocations: 4 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1325, allocations: 11.95 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1327, allocations: 77.53 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1327, allocations: 4 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1327, allocations: 0 / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1327, allocations: 0 / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.1328, allocations: 35.97 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.1333, allocations: 328.6 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1335, allocations: 86.47 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.1336, allocations: 20.86 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1337, allocations: 4 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1339, allocations: 75.38 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1339, allocations: 0 / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008164/0.1347, allocations: 292.9 kB / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1347, allocations: 55.41 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.135, allocations: 255.2 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.135, allocations: 33.69 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1351, allocations: 108.1 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1352, allocations: 47.59 kB / 476.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.1352, allocations: 4 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1353, allocations: 334.8 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.1354, allocations: 35.98 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.1355, allocations: 60.92 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.1356, allocations: 40.11 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1356, allocations: 7.875 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000268/0.1359, allocations: 164.7 kB / 477.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1359, allocations: 8 kB / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1359, allocations: 4.031 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.136, allocations: 0 / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.1361, allocations: 31.98 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1361, allocations: 0 / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1361, allocations: 7.984 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1362, allocations: 7.953 kB / 477.4 MB, free: 7.59 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 (16): * Single equations (assignments): 16 * 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.0001262/0.1363, allocations: 142.3 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.1363, allocations: 15.81 kB / 477.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1364, allocations: 29.52 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1364, allocations: 0 / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1364, allocations: 3.984 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1364, allocations: 0 / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.137, allocations: 496.1 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.137, allocations: 3.938 kB / 478.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.1371, allocations: 31.98 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1371, allocations: 0 / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1371, allocations: 8 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1371, allocations: 3.953 kB / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1371, allocations: 0 / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1374, allocations: 264.9 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1375, allocations: 92.92 kB / 478.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1375, allocations: 11.98 kB / 478.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1376, allocations: 0 / 478.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1377, allocations: 15.94 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.1377, allocations: 8 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1378, allocations: 183 kB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1378, allocations: 0 / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1381, allocations: 35.98 kB / 478.8 MB, free: 6.156 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 (14): * Single equations (assignments): 12 * 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.001747/0.1399, allocations: 1.211 MB / 480 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1401, allocations: 107.9 kB / 480.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1401, allocations: 4.062 kB / 480.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1402, allocations: 47.92 kB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1406, allocations: 34.8 kB / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1422, allocations: 0.9784 MB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1425, allocations: 0.7243 MB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.634e-05/0.1426, allocations: 25.41 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1428, allocations: 55.41 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1428, allocations: 0 / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1576, allocations: 3.76 MB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.1578, allocations: 216.7 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.03, allocations: 7.938 kB / 485.9 MB, free: 15.19 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat