Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.000932/0.000932, allocations: 93 kB / 17 MB, free: 6.418 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.001199/0.001199, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.495/1.495, 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.2184/0.2184, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002291/0.1385, allocations: 1.468 MB / 473.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.1407, allocations: 1.452 MB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1408, allocations: 4 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1412, allocations: 43.83 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1415, allocations: 71.67 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1419, allocations: 151 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1422, allocations: 155.5 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/0.1423, allocations: 13.55 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1424, allocations: 71.64 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1426, allocations: 63.69 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1427, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1428, allocations: 51.97 kB / 475.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1429, allocations: 27.84 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.143, allocations: 45.64 kB / 475.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1432, allocations: 135.9 kB / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1432, allocations: 0 / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1432, allocations: 0 / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1432, allocations: 0 / 475.4 MB, free: 9.852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006941/0.1439, allocations: 446.6 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.144, allocations: 8.031 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.144, allocations: 34.56 kB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1441, allocations: 19.81 kB / 475.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1444, allocations: 234.7 kB / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1445, allocations: 3.984 kB / 476.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1445, allocations: 7.953 kB / 476.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1447, allocations: 101 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1448, allocations: 3.984 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1448, allocations: 3.984 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1448, allocations: 0 / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1449, allocations: 27.98 kB / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.1452, allocations: 210.5 kB / 476.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.1455, allocations: 109.2 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.1456, allocations: 41.69 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1456, allocations: 4 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.1459, allocations: 113 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1459, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004586/0.1463, allocations: 165.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.1464, allocations: 132.5 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1467, allocations: 215.8 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1467, allocations: 29.7 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1468, allocations: 112.1 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.1469, allocations: 35.58 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.1469, allocations: 0 / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.147, allocations: 330.8 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.1471, allocations: 27.98 kB / 477.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.611e-05/0.1472, allocations: 73.08 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.1473, allocations: 31.98 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1473, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000245/0.1476, allocations: 137.3 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1476, allocations: 4 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1476, allocations: 4.094 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1476, allocations: 4 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1477, allocations: 27.92 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1477, allocations: 4 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.1478, allocations: 11.92 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1479, allocations: 4 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001179/0.148, allocations: 130.4 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.148, allocations: 23.75 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.1481, allocations: 21 kB / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1481, allocations: 7.938 kB / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1481, allocations: 0 / 478.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1481, allocations: 3.984 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1483, allocations: 213.5 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1483, allocations: 0 / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1483, allocations: 8 kB / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1484, allocations: 0 / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1484, allocations: 7.953 kB / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1484, allocations: 3.984 kB / 478.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1484, allocations: 192 / 478.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1487, allocations: 173.7 kB / 478.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.1488, allocations: 100.8 kB / 478.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1488, allocations: 4 kB / 478.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1489, allocations: 11.94 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1489, allocations: 4 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.149, allocations: 19.97 kB / 478.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1492, allocations: 156.2 kB / 478.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1492, allocations: 0 / 478.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1495, allocations: 40.08 kB / 479 MB, free: 5.875 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00151/0.151, allocations: 1.054 MB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.1513, allocations: 83.84 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1513, allocations: 0 / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.641e-05/0.1514, allocations: 36.11 kB / 480.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1518, allocations: 51.91 kB / 480.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1533, allocations: 0.8895 MB / 481.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1537, allocations: 0.7167 MB / 481.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1538, allocations: 33.5 kB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.1539, allocations: 43.42 kB / 481.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1539, allocations: 4 kB / 481.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.1723, allocations: 4.137 MB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.1726, allocations: 225.6 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.122, allocations: 3.875 kB / 486.2 MB, free: 14.79 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat