Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.0009929/0.0009932, allocations: 96.31 kB / 16.99 MB, free: 6.402 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.001351/0.001351, allocations: 179.1 kB / 17.88 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.442/1.442, allocations: 223.2 MB / 241.8 MB, free: 396 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.2341/0.2341, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003107, allocations: 19.98 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.001936/0.1365, allocations: 1.391 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1376, allocations: 0.7881 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.1377, allocations: 3.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.138, allocations: 31.83 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1381, allocations: 39.89 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.1384, allocations: 99.69 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1385, allocations: 59.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.1386, allocations: 12.22 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.009e-05/0.1387, allocations: 35.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.1388, allocations: 31.84 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1388, allocations: 0 / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.1389, allocations: 27.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.1389, allocations: 15.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.1389, allocations: 41.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1391, allocations: 88.08 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1391, allocations: 3.938 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1391, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.1391, allocations: 0 / 474.2 MB, free: 10.97 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.0004424/0.1396, allocations: 402.9 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1396, allocations: 12.03 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.1396, allocations: 38.44 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1397, allocations: 7.906 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1399, allocations: 207.6 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1399, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1399, allocations: 3.953 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1401, allocations: 57.67 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1401, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1401, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1401, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.1402, allocations: 19.92 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1405, allocations: 292.9 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1407, allocations: 50.69 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1407, allocations: 4 kB / 475.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.1409, allocations: 71.36 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1409, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.1414, allocations: 177.1 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1415, allocations: 55.34 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1416, allocations: 203.3 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1417, allocations: 29.7 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.1417, allocations: 100.1 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1418, allocations: 23.7 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1418, allocations: 0 / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1419, allocations: 330.8 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.142, allocations: 16 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.142, allocations: 37.69 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.1421, allocations: 31.98 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1421, allocations: 0 / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.1423, allocations: 93.53 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1423, allocations: 8 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1423, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1423, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.1424, allocations: 19.98 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1424, allocations: 4.141 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1425, allocations: 11.97 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1425, allocations: 4 kB / 476.5 MB, free: 8.453 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.0001009/0.1426, allocations: 134.2 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1426, allocations: 12 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.1427, allocations: 21.39 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1427, allocations: 7.938 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1427, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1427, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.1431, allocations: 395.3 kB / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1431, allocations: 0 / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.1432, allocations: 12 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1432, allocations: 3.984 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1432, allocations: 3.984 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1432, allocations: 4.375 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1432, allocations: 0 / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1434, allocations: 221.8 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1435, allocations: 89.02 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1435, allocations: 3.984 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1436, allocations: 8 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1436, allocations: 3.938 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1436, allocations: 7.984 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1438, allocations: 152.8 kB / 477.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 4 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.144, allocations: 23.98 kB / 477.6 MB, free: 7.258 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.001362/0.1454, allocations: 1.168 MB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1456, allocations: 59.91 kB / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1456, allocations: 0 / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.1456, allocations: 27.98 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1459, allocations: 36.31 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.147, allocations: 0.8704 MB / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1473, allocations: 0.7121 MB / 480.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.1473, allocations: 16.83 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.484e-05/0.1474, allocations: 35.42 kB / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1474, allocations: 0 / 480.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.1618, allocations: 2.95 MB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.162, allocations: 231 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.914, allocations: 0 / 483.7 MB, free: 1.332 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat