Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001373/0.001373, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.001558/0.001558, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2321/0.2321, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002188/0.1217, allocations: 1.542 MB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1231, allocations: 0.8933 MB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1233, allocations: 3.938 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.1237, allocations: 147.6 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.124, allocations: 123.7 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1245, allocations: 150.5 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1247, allocations: 143.7 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1249, allocations: 25.67 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.125, allocations: 95.66 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1252, allocations: 103.6 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1252, allocations: 0 / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1253, allocations: 43.92 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.1254, allocations: 43.83 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.1255, allocations: 53.58 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1258, allocations: 156 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1258, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1258, allocations: 4 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.098e-06/0.1258, allocations: 0 / 475.1 MB, free: 10.1 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009829/0.1268, allocations: 0.4904 MB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/0.1269, allocations: 12.03 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.1269, allocations: 34.56 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.127, allocations: 23.72 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.1275, allocations: 266.4 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1275, allocations: 4 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.1276, allocations: 15.95 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1279, allocations: 107.3 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1279, allocations: 0 / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1279, allocations: 4 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1279, allocations: 0 / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1281, allocations: 47.91 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.1287, allocations: 468.7 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.1291, allocations: 121.2 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1291, allocations: 3.984 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.1294, allocations: 141 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.1294, allocations: 0 / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001224/0.1306, allocations: 481.2 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1307, allocations: 85.06 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.1311, allocations: 358.9 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1311, allocations: 37.64 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1312, allocations: 136.6 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.1313, allocations: 67.08 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.1314, allocations: 8 kB / 477.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1315, allocations: 338.8 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1317, allocations: 55.97 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1318, allocations: 91.34 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.132, allocations: 71.92 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.132, allocations: 0 / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003826/0.1324, allocations: 225.4 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1324, allocations: 8.062 kB / 478.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1324, allocations: 12.16 kB / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1324, allocations: 0 / 478.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1326, allocations: 39.98 kB / 478.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1326, allocations: 7.938 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1327, allocations: 12 kB / 478.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1327, allocations: 11.98 kB / 478.8 MB, free: 6.113 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001811/0.1329, allocations: 162.3 kB / 478.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.1329, allocations: 31.62 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.133, allocations: 33.73 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1331, allocations: 4 kB / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1331, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.1331, allocations: 7.938 kB / 479 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1341, allocations: 0.7077 MB / 479.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.1341, allocations: 3.953 kB / 479.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.1342, allocations: 36.11 kB / 479.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1342, allocations: 4 kB / 479.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1343, allocations: 11.92 kB / 479.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1343, allocations: 4 kB / 479.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1343, allocations: 0 / 479.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.1348, allocations: 481.5 kB / 480.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.1348, allocations: 100.7 kB / 480.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1349, allocations: 15.94 kB / 480.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.135, allocations: 8 kB / 480.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.1351, allocations: 19.97 kB / 480.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1351, allocations: 12 kB / 480.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1354, allocations: 261.9 kB / 480.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 0 / 480.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1357, allocations: 51.98 kB / 480.7 MB, free: 4.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002018/0.1378, allocations: 1.766 MB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1381, allocations: 155.8 kB / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1381, allocations: 0 / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1383, allocations: 83.84 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1387, allocations: 44.84 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.141, allocations: 1.884 MB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1413, allocations: 0.7638 MB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1415, allocations: 50.2 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1416, allocations: 79.41 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1416, allocations: 8 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.1573, allocations: 5.307 MB / 490.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1576, allocations: 220.8 kB / 491.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.113, allocations: 0 / 491.1 MB, free: 9.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat