Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001125/0.001126, allocations: 98.33 kB / 17 MB, free: 5.953 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.001297/0.001297, allocations: 186.8 kB / 17.89 MB, free: 5.57 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.378/1.378, allocations: 223.2 MB / 241.9 MB, free: 340 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.205/0.205, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 61.91 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002014/0.1258, allocations: 1.402 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1279, allocations: 1.37 MB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.1281, allocations: 3.938 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1284, allocations: 35.89 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1286, allocations: 39.83 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1289, allocations: 95.77 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.1291, allocations: 87.75 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1292, allocations: 8.172 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.1292, allocations: 31.86 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1294, allocations: 43.77 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1294, allocations: 4 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1296, allocations: 43.98 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.1296, allocations: 19.91 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.1297, allocations: 33.7 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1298, allocations: 96.03 kB / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1299, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1299, allocations: 0 / 475 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1299, allocations: 0 / 475 MB, free: 10.31 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.0005764/0.1305, allocations: 395 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1305, allocations: 8.031 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.1306, allocations: 38.5 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1306, allocations: 7.906 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1309, allocations: 201.1 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1309, allocations: 7.953 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1309, allocations: 4 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1311, allocations: 67.38 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1311, allocations: 11.84 kB / 475.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1311, allocations: 4 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1311, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.1312, allocations: 19.98 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1316, allocations: 280.9 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1318, allocations: 50.69 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1318, allocations: 24.78 kB / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1318, allocations: 0 / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.132, allocations: 71.39 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.132, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005451/0.1326, allocations: 177.2 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.1327, allocations: 77.11 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1328, allocations: 156.7 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1329, allocations: 25.7 kB / 476.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1329, allocations: 96.14 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.133, allocations: 27.64 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.133, allocations: 4 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1331, allocations: 318.8 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.1332, allocations: 20 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.22e-05/0.1333, allocations: 42.56 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.1334, allocations: 27.92 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1334, allocations: 0 / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1335, allocations: 97.62 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1336, allocations: 4 kB / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1336, allocations: 0 / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1336, allocations: 4 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1337, allocations: 19.92 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1337, allocations: 0 / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.1338, allocations: 16.17 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1338, allocations: 4 kB / 477.2 MB, free: 7.801 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.0001395/0.134, allocations: 126.4 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.134, allocations: 7.906 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.134, allocations: 16.91 kB / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.1341, allocations: 7.984 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1341, allocations: 3.938 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1341, allocations: 0 / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.1346, allocations: 391.3 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1346, allocations: 0 / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.1347, allocations: 12.03 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1347, allocations: 0 / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1347, allocations: 7.938 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1347, allocations: 4 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1347, allocations: 3.953 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1349, allocations: 204.5 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.135, allocations: 85.02 kB / 478.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1351, allocations: 8 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.1351, allocations: 7.984 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1352, allocations: 7.953 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1352, allocations: 4 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.437e-05/0.1353, allocations: 115.2 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1353, allocations: 0 / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1356, allocations: 35.98 kB / 478.2 MB, free: 6.664 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.001813/0.1374, allocations: 1.126 MB / 479.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1376, allocations: 63.89 kB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.1377, allocations: 0 / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.1377, allocations: 35.92 kB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.1381, allocations: 32.06 kB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1393, allocations: 0.6276 MB / 480.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1396, allocations: 0.6936 MB / 480.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.062e-05/0.1397, allocations: 20.86 kB / 480.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.1398, allocations: 31.42 kB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1398, allocations: 4 kB / 480.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.1571, allocations: 3.057 MB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.1575, allocations: 225.4 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.001, allocations: 0 / 484.2 MB, free: 0.9609 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat