Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001051/0.001055, allocations: 89.75 kB / 17 MB, free: 6.047 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.001771/0.001772, allocations: 189.4 kB / 17.89 MB, free: 5.652 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.38/1.38, allocations: 223.2 MB / 241.9 MB, free: 308 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.2506/0.2506, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002509/0.1284, allocations: 1.39 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.13, allocations: 0.792 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1302, allocations: 7.938 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1304, allocations: 31.89 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1306, allocations: 47.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.131, allocations: 91.77 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1312, allocations: 83.69 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.1313, allocations: 12.22 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.1314, allocations: 43.72 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.1315, allocations: 23.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1315, allocations: 0 / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1316, allocations: 43.97 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.1316, allocations: 19.92 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.1317, allocations: 37.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.1319, allocations: 84.09 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1319, allocations: 4 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1319, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1319, allocations: 0 / 474.4 MB, free: 10.9 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.0004786/0.1324, allocations: 397.2 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1324, allocations: 8.031 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1325, allocations: 42.55 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.1325, allocations: 11.81 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1327, allocations: 198.8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1327, allocations: 7.984 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1327, allocations: 3.953 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1329, allocations: 53.67 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1329, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1329, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1329, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.133, allocations: 19.92 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.1333, allocations: 296.9 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1335, allocations: 50.69 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1336, allocations: 28.84 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1336, allocations: 0 / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1338, allocations: 71.33 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1338, allocations: 0 / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005263/0.1343, allocations: 173.2 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1344, allocations: 51.41 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1346, allocations: 190.2 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1346, allocations: 29.7 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.1347, allocations: 104.1 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1347, allocations: 23.72 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.1347, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1349, allocations: 326.8 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.1349, allocations: 23.98 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.135, allocations: 37.64 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.135, allocations: 20 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1351, allocations: 0 / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.1352, allocations: 113.4 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1353, allocations: 10.48 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1353, allocations: 0 / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1353, allocations: 0 / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.1354, allocations: 19.94 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1354, allocations: 0 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1354, allocations: 0 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1354, allocations: 7.984 kB / 476.6 MB, free: 8.395 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 9.797e-05/0.1355, allocations: 134.3 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.1356, allocations: 11.91 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.1356, allocations: 16.7 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1356, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1356, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1356, allocations: 0 / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.136, allocations: 395.3 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1361, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.1361, allocations: 12.03 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1361, allocations: 3.984 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1361, allocations: 7.984 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1361, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1361, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1364, allocations: 208.1 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/0.1364, allocations: 85.02 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1364, allocations: 12.36 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1365, allocations: 4 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.1365, allocations: 4 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1366, allocations: 11.98 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1367, allocations: 139.2 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 0 / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1369, allocations: 23.98 kB / 477.7 MB, free: 7.238 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.001347/0.1383, allocations: 1.117 MB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1385, allocations: 59.89 kB / 478.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1385, allocations: 0 / 478.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.1385, allocations: 24 kB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1389, allocations: 27.97 kB / 478.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1399, allocations: 0.6962 MB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1402, allocations: 0.7043 MB / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.1402, allocations: 12.88 kB / 480.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.1403, allocations: 35.42 kB / 480.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1403, allocations: 3.938 kB / 480.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.1532, allocations: 2.925 MB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.1534, allocations: 215.4 kB / 483.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.911, allocations: 0 / 483.5 MB, free: 1.605 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat