Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001319/0.001319, allocations: 90.34 kB / 16.98 MB, free: 5.938 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.001445/0.001445, allocations: 185.8 kB / 17.88 MB, free: 5.594 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2317/0.2317, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 16 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002564/0.1287, allocations: 1.348 MB / 472.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1301, allocations: 0.7686 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.1302, allocations: 3.938 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1306, allocations: 67.78 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1308, allocations: 51.86 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1311, allocations: 83.72 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1313, allocations: 63.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.1313, allocations: 7.938 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.1314, allocations: 43.83 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.1315, allocations: 35.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1316, allocations: 8 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.1316, allocations: 19.94 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1317, allocations: 15.91 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1317, allocations: 37.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1319, allocations: 76.11 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1319, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1319, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1319, allocations: 0 / 474.2 MB, free: 11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005712/0.1325, allocations: 387 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.1326, allocations: 15.97 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.1326, allocations: 34.56 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.1327, allocations: 7.906 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1329, allocations: 202.9 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.133, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.133, allocations: 3.953 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1331, allocations: 49.61 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1332, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1332, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1332, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.225e-05/0.1333, allocations: 19.98 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.1335, allocations: 185.6 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1337, allocations: 54.56 kB / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1337, allocations: 0 / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1339, allocations: 67.44 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.1339, allocations: 4 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002962/0.1342, allocations: 97.75 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1343, allocations: 51.41 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1345, allocations: 194 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1345, allocations: 25.7 kB / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.1346, allocations: 100.1 kB / 475.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1346, allocations: 15.8 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1346, allocations: 0 / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1347, allocations: 322.8 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.1348, allocations: 15.98 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.1349, allocations: 29.7 kB / 476 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.1349, allocations: 12 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.1349, allocations: 4 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.1351, allocations: 77.53 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.1351, allocations: 11.98 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1351, allocations: 3.938 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1351, allocations: 7.984 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.1352, allocations: 8 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1352, allocations: 0 / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.1353, allocations: 11.94 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1353, allocations: 0 / 476.2 MB, free: 8.785 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 (7): * Single equations (assignments): 7 * 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.0001162/0.1354, allocations: 122.4 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.1355, allocations: 15.81 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.1355, allocations: 20.27 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1355, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1355, allocations: 3.984 kB / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1355, allocations: 0 / 476.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.1357, allocations: 193.5 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1357, allocations: 0 / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.1357, allocations: 4 kB / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1357, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1357, allocations: 0 / 476.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1358, allocations: 3.953 kB / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1358, allocations: 0 / 476.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1359, allocations: 109 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.136, allocations: 89 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.136, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.1361, allocations: 4.188 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1361, allocations: 15.94 kB / 476.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1361, allocations: 4 kB / 476.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1363, allocations: 139.2 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1363, allocations: 0 / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1365, allocations: 19.98 kB / 476.9 MB, free: 7.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001271/0.1378, allocations: 0.944 MB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.1379, allocations: 51.92 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.138, allocations: 0 / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.138, allocations: 16 kB / 477.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1383, allocations: 27.91 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1394, allocations: 0.7899 MB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1397, allocations: 0.7043 MB / 479.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.1397, allocations: 16.55 kB / 479.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1398, allocations: 23.44 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1398, allocations: 0 / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1534, allocations: 2.622 MB / 482.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.1536, allocations: 219.4 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/1.846, allocations: 0 / 482.3 MB, free: 2.699 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat