Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.0009736/0.0009736, allocations: 97.14 kB / 17 MB, free: 6.039 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.001045/0.001045, allocations: 178.5 kB / 17.89 MB, free: 5.637 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.382/1.382, allocations: 223.2 MB / 241.9 MB, free: 344 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.2262/0.2262, allocations: 44.24 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 61.92 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001896/0.1307, allocations: 1.39 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.1327, allocations: 1.378 MB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.1328, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1331, allocations: 35.83 kB / 474.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1333, allocations: 43.83 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1336, allocations: 98.7 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1338, allocations: 79.69 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.1339, allocations: 20.22 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.134, allocations: 39.78 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1341, allocations: 31.84 kB / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1342, allocations: 0 / 474.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1343, allocations: 47.98 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.911e-05/0.1344, allocations: 15.91 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1344, allocations: 37.64 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1346, allocations: 92.08 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1346, allocations: 0 / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1346, allocations: 3.938 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1346, allocations: 8 kB / 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.0004904/0.1351, allocations: 387 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1352, allocations: 12.03 kB / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1352, allocations: 38.55 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1352, allocations: 7.906 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1355, allocations: 189.2 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1355, allocations: 15.88 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1355, allocations: 4 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1357, allocations: 75.39 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1357, allocations: 3.906 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1357, allocations: 0 / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1357, allocations: 0 / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.108e-05/0.1358, allocations: 19.98 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1362, allocations: 280.9 kB / 476 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1363, allocations: 66.61 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.1364, allocations: 16.86 kB / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1364, allocations: 3.938 kB / 476.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1366, allocations: 67.38 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1366, allocations: 0 / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005071/0.1371, allocations: 173.2 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1372, allocations: 77.11 kB / 476.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1373, allocations: 156.2 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1373, allocations: 29.7 kB / 476.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.1374, allocations: 96.08 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1374, allocations: 27.64 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.1374, allocations: 0 / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1375, allocations: 322.8 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.1376, allocations: 27.98 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.1377, allocations: 38.56 kB / 477.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.1377, allocations: 20 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1378, allocations: 0 / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1379, allocations: 105.5 kB / 477.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.138, allocations: 4 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.138, allocations: 4.062 kB / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.138, allocations: 3.984 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.1381, allocations: 16 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1381, allocations: 0 / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.1382, allocations: 12.05 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1382, allocations: 4.156 kB / 477.2 MB, free: 7.809 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.59e-05/0.1383, allocations: 130.2 kB / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.1383, allocations: 7.906 kB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.1383, allocations: 16.7 kB / 477.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1384, allocations: 4 kB / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1384, allocations: 0 / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1384, allocations: 3.984 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1388, allocations: 387.3 kB / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1388, allocations: 384 / 477.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1389, allocations: 8 kB / 477.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1389, allocations: 8 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1389, allocations: 7.969 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1389, allocations: 4.031 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1389, allocations: 3.953 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.1391, allocations: 208.2 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.1392, allocations: 85.02 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1392, allocations: 7.984 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.1393, allocations: 4 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1393, allocations: 11.95 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1393, allocations: 7.984 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.1394, allocations: 111.3 kB / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1394, allocations: 0 / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1397, allocations: 31.98 kB / 478.3 MB, free: 6.672 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.001407/0.1411, allocations: 1.138 MB / 479.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1413, allocations: 55.92 kB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1413, allocations: 0 / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.824e-05/0.1414, allocations: 31.92 kB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1417, allocations: 23.94 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.1427, allocations: 0.6236 MB / 480.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1429, allocations: 0.7015 MB / 480.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.033e-05/0.143, allocations: 12.88 kB / 480.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1431, allocations: 31.42 kB / 480.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1431, allocations: 0 / 480.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1572, allocations: 3.069 MB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.1574, allocations: 229.5 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.005, allocations: 3.938 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat