Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.00112/0.00112, allocations: 93.2 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.001263/0.001263, allocations: 183.6 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.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 408 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.2355/0.2355, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 61.93 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002265/0.1236, allocations: 1.55 MB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1251, allocations: 0.8894 MB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.1252, allocations: 3.938 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1257, allocations: 243.4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.126, allocations: 159.6 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.1264, allocations: 154.8 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1267, allocations: 175.6 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1268, allocations: 25.67 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.1269, allocations: 123.5 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1271, allocations: 127.6 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1271, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1273, allocations: 51.91 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.1273, allocations: 55.81 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.1274, allocations: 65.52 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1276, allocations: 175.9 kB / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1276, allocations: 0 / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1276, allocations: 0 / 475.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1276, allocations: 0 / 475.3 MB, free: 9.855 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006635/0.1283, allocations: 0.533 MB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1284, allocations: 16.03 kB / 475.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.1284, allocations: 34.56 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1285, allocations: 31.62 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1288, allocations: 271 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1288, allocations: 4 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1289, allocations: 15.95 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1291, allocations: 99.34 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1291, allocations: 7.938 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1291, allocations: 8 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1292, allocations: 0 / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1293, allocations: 47.95 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.1298, allocations: 480.7 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1302, allocations: 121.2 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1302, allocations: 4 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1305, allocations: 125 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1305, allocations: 4 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001174/0.1317, allocations: 0.4929 MB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1317, allocations: 89 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.1322, allocations: 485.5 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1322, allocations: 29.7 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1323, allocations: 156.5 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.1324, allocations: 79.08 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.1324, allocations: 0 / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1326, allocations: 346.8 kB / 478.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1327, allocations: 55.97 kB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1328, allocations: 95.33 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.133, allocations: 67.94 kB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.133, allocations: 0 / 479 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003681/0.1333, allocations: 237.2 kB / 479.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1334, allocations: 7.984 kB / 479.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1334, allocations: 4 kB / 479.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1334, allocations: 3.938 kB / 479.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1335, allocations: 39.98 kB / 479.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1336, allocations: 3.953 kB / 479.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.457e-05/0.1336, allocations: 16.06 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1337, allocations: 19.92 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001566/0.1338, allocations: 174.3 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1339, allocations: 31.62 kB / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.134, allocations: 38.81 kB / 479.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.134, allocations: 7.984 kB / 479.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.134, allocations: 0 / 479.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.134, allocations: 11.94 kB / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.1348, allocations: 0.7272 MB / 480.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1348, allocations: 3.953 kB / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.495e-05/0.1349, allocations: 31.92 kB / 480.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1349, allocations: 8.125 kB / 480.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.135, allocations: 7.984 kB / 480.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.135, allocations: 4 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.135, allocations: 0 / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.1355, allocations: 485.2 kB / 480.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.1355, allocations: 104.7 kB / 480.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.1356, allocations: 15.94 kB / 480.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1358, allocations: 12 kB / 480.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.1358, allocations: 19.97 kB / 481 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1358, allocations: 12 kB / 481 MB, free: 3.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.1362, allocations: 355.1 kB / 481.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 0 / 481.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.1366, allocations: 52.17 kB / 481.4 MB, free: 3.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001976/0.1385, allocations: 1.774 MB / 483.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.1389, allocations: 155.8 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1389, allocations: 0 / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1391, allocations: 84.22 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1395, allocations: 56.2 kB / 483.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1422, allocations: 2.168 MB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.1427, allocations: 0.7911 MB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.1428, allocations: 37.92 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.143, allocations: 99.39 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.143, allocations: 0 / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.1599, allocations: 5.838 MB / 492.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.1601, allocations: 220.8 kB / 492.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.119, allocations: 0 / 492.6 MB, free: 8.34 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat