Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.0009713/0.0009713, allocations: 94.52 kB / 16.98 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.0009981/0.0009986, allocations: 183.8 kB / 17.87 MB, free: 5.953 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2337/0.2337, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 16 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002398/0.1296, allocations: 1.387 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1309, allocations: 0.792 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.131, allocations: 7.875 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1313, allocations: 31.89 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1315, allocations: 43.88 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1318, allocations: 99.33 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1319, allocations: 63.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.132, allocations: 8.234 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.262e-05/0.1321, allocations: 39.83 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.1322, allocations: 27.86 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1322, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.1323, allocations: 23.98 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1323, allocations: 27.91 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1324, allocations: 41.64 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.1325, allocations: 92.03 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1325, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1326, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1326, allocations: 0 / 474.2 MB, free: 10.94 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.0004753/0.133, allocations: 406.8 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1331, allocations: 11.97 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.1331, allocations: 42.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.1332, allocations: 11.81 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1334, allocations: 207.4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1335, allocations: 8 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.1335, allocations: 3.953 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1337, allocations: 53.67 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1337, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.1337, allocations: 3.938 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1337, allocations: 4 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1338, allocations: 15.98 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1342, allocations: 300.8 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1343, allocations: 58.62 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1344, allocations: 0 / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.1346, allocations: 67.52 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.1346, allocations: 4 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000523/0.1351, allocations: 177 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1352, allocations: 51.41 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1354, allocations: 222.7 kB / 475.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1354, allocations: 29.7 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.1355, allocations: 108.1 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1355, allocations: 27.64 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1355, allocations: 0 / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1356, allocations: 334.8 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.1357, allocations: 19.98 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.1358, allocations: 29.72 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.1358, allocations: 31.92 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1358, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.136, allocations: 97.48 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.136, allocations: 8 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.136, allocations: 4.031 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.136, allocations: 3.984 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.1361, allocations: 23.92 kB / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1361, allocations: 0 / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1362, allocations: 4 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1362, allocations: 4 kB / 476.5 MB, free: 8.375 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.0001022/0.1363, allocations: 134 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.1363, allocations: 11.91 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.1364, allocations: 25.33 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1364, allocations: 4 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1364, allocations: 384 / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1364, allocations: 0 / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1368, allocations: 403.2 kB / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1368, allocations: 0 / 477.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.1369, allocations: 11.98 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1369, allocations: 0 / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1369, allocations: 4 kB / 477.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1369, allocations: 4.031 kB / 477.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1369, allocations: 3.938 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.1371, allocations: 210 kB / 477.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.1372, allocations: 96.91 kB / 477.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1372, allocations: 4 kB / 477.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1373, allocations: 7.938 kB / 477.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.1373, allocations: 7.984 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1373, allocations: 8 kB / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1375, allocations: 176.2 kB / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1375, allocations: 0 / 477.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1377, allocations: 20 kB / 477.7 MB, free: 7.156 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.001361/0.1391, allocations: 1.172 MB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1393, allocations: 67.89 kB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1393, allocations: 0 / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.1393, allocations: 23.98 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1396, allocations: 32.06 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1408, allocations: 0.9321 MB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1411, allocations: 0.7082 MB / 480.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.1412, allocations: 17.17 kB / 480.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.1412, allocations: 39.42 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1412, allocations: 0 / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.158, allocations: 3.063 MB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/0.1584, allocations: 219.6 kB / 483.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.841, allocations: 0 / 483.9 MB, free: 1.07 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat