Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001136/0.001136, allocations: 94.66 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.001433/0.001433, allocations: 184.1 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.456/1.456, allocations: 223.2 MB / 241.8 MB, free: 384 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.2225/0.2225, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001922/0.1262, allocations: 1.383 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1274, allocations: 0.7959 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.1275, allocations: 3.938 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1278, allocations: 23.84 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1279, allocations: 43.88 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1282, allocations: 91.7 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1284, allocations: 63.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.1285, allocations: 12.23 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.1286, allocations: 35.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.1287, allocations: 27.86 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1287, allocations: 3.938 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.1288, allocations: 27.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1288, allocations: 19.91 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.1289, allocations: 41.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.129, allocations: 76.11 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.129, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.129, allocations: 3.938 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1291, allocations: 0 / 474.2 MB, free: 10.98 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.0005097/0.1296, allocations: 395 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1296, allocations: 16.02 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1297, allocations: 34.56 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1297, allocations: 11.81 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.13, allocations: 206.8 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.13, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1301, allocations: 11.95 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1302, allocations: 49.67 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1303, allocations: 4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1303, allocations: 7.984 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1303, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.1304, allocations: 19.98 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1309, allocations: 284.8 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1311, allocations: 54.67 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1311, allocations: 4 kB / 475.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.1314, allocations: 71.45 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1314, allocations: 0 / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005764/0.132, allocations: 165.6 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.132, allocations: 63.33 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.1322, allocations: 186.1 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1323, allocations: 29.7 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1323, allocations: 104.1 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1324, allocations: 23.7 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1324, allocations: 4 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1325, allocations: 326.8 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1326, allocations: 16 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.1327, allocations: 33.7 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.799e-05/0.1327, allocations: 31.98 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1327, allocations: 192 / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1329, allocations: 101.4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.133, allocations: 7.938 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.133, allocations: 4.062 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.133, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.1331, allocations: 19.98 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1331, allocations: 0 / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.1332, allocations: 8 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1332, allocations: 4.031 kB / 476.4 MB, free: 8.492 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.0001101/0.1333, allocations: 137.5 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1333, allocations: 7.906 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1334, allocations: 12.72 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1334, allocations: 0 / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1334, allocations: 4 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1334, allocations: 3.984 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1338, allocations: 395.3 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1339, allocations: 0 / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.1339, allocations: 8 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1339, allocations: 0 / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1339, allocations: 4 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1339, allocations: 0 / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1339, allocations: 0 / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1342, allocations: 226.1 kB / 477.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1342, allocations: 93 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1342, allocations: 0 / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1343, allocations: 4 kB / 477.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1344, allocations: 11.98 kB / 477.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.1344, allocations: 7.938 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1345, allocations: 147.1 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1345, allocations: 0 / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1348, allocations: 28 kB / 477.5 MB, free: 7.312 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.001495/0.1363, allocations: 1.177 MB / 478.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1365, allocations: 51.98 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1365, allocations: 0 / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.1366, allocations: 35.92 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1369, allocations: 28.06 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1381, allocations: 0.8431 MB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1383, allocations: 0.7043 MB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.674e-05/0.1384, allocations: 21.16 kB / 480.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.1385, allocations: 39.42 kB / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1385, allocations: 0 / 480.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1522, allocations: 2.903 MB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.1524, allocations: 216.2 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.035, allocations: 0 / 483.5 MB, free: 1.469 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat