Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.0009705/0.0009707, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3113/0.3113, allocations: 43.55 MB / 314.6 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 16 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002215/0.1246, allocations: 1.398 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1261, allocations: 0.7499 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.1261, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.1264, allocations: 27.91 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1265, allocations: 47.83 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.1267, allocations: 75.84 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1268, allocations: 83.69 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.1269, allocations: 8.219 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.127, allocations: 43.78 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.1271, allocations: 23.86 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1271, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.1272, allocations: 39.98 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1272, allocations: 19.92 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1272, allocations: 37.64 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1274, allocations: 88.02 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1274, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1274, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.1274, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.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.0004211/0.1278, allocations: 394.8 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1278, allocations: 8.031 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1279, allocations: 38.56 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1279, allocations: 11.91 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1281, allocations: 198.8 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1281, allocations: 8 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1281, allocations: 0 / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1283, allocations: 53.67 kB / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1283, allocations: 0 / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1283, allocations: 15.88 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1283, allocations: 0 / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.061e-05/0.1284, allocations: 15.98 kB / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.1287, allocations: 288.9 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1288, allocations: 58.61 kB / 446.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.1289, allocations: 16.86 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1289, allocations: 7.938 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.1291, allocations: 75.34 kB / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1291, allocations: 0 / 446.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004617/0.1295, allocations: 173.2 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1296, allocations: 51.41 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1297, allocations: 170.2 kB / 447.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1298, allocations: 29.7 kB / 447.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.1298, allocations: 96.14 kB / 447.2 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1299, allocations: 31.64 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.1299, allocations: 0 / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.13, allocations: 326.8 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.13, allocations: 19.92 kB / 447.6 MB, free: 8.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.1301, allocations: 37.7 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.1302, allocations: 24 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1302, allocations: 0 / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001625/0.1303, allocations: 105.5 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1304, allocations: 4 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1304, allocations: 4 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1304, allocations: 0 / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.1305, allocations: 15.98 kB / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1305, allocations: 0 / 447.7 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.1305, allocations: 8 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1305, allocations: 4 kB / 447.8 MB, free: 8.039 MB / 382.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 8.901e-05/0.1306, allocations: 129.8 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.1307, allocations: 19.7 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.1307, allocations: 12.72 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1307, allocations: 3.984 kB / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1307, allocations: 0 / 447.9 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1307, allocations: 4 kB / 447.9 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.1311, allocations: 391.3 kB / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1311, allocations: 192 / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1311, allocations: 12.03 kB / 448.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1312, allocations: 3.938 kB / 448.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1312, allocations: 0 / 448.3 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1312, allocations: 4 kB / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1312, allocations: 0 / 448.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1314, allocations: 208.2 kB / 448.5 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1314, allocations: 88.92 kB / 448.6 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1315, allocations: 8 kB / 448.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.1316, allocations: 8.312 kB / 448.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1316, allocations: 3.984 kB / 448.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1316, allocations: 4 kB / 448.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1317, allocations: 139.9 kB / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1317, allocations: 0 / 448.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.132, allocations: 24 kB / 448.8 MB, free: 6.895 MB / 382.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.001248/0.1332, allocations: 1.094 MB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1334, allocations: 63.89 kB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1334, allocations: 0 / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.1335, allocations: 31.92 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1338, allocations: 23.98 kB / 450 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.1347, allocations: 0.6718 MB / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.135, allocations: 0.708 MB / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.135, allocations: 16.86 kB / 451.4 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1351, allocations: 35.36 kB / 451.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1351, allocations: 0 / 451.4 MB, free: 4.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.1476, allocations: 2.857 MB / 454.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.1479, allocations: 221.5 kB / 454.5 MB, free: 1.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.864, allocations: 4 kB / 454.5 MB, free: 1.078 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat