Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.000934, allocations: 99.95 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 45.92 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002725, allocations: 8 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1243, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002091/0.1265, allocations: 1.517 MB / 483.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1282, allocations: 1.034 MB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.1283, allocations: 0 / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1288, allocations: 299.4 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.1293, allocations: 223.4 kB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.1297, allocations: 143.1 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.13, allocations: 219.3 kB / 485.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.1301, allocations: 9.688 kB / 485.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1303, allocations: 119.6 kB / 485.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1305, allocations: 159.5 kB / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1305, allocations: 7.938 kB / 485.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1306, allocations: 39.98 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1308, allocations: 135.6 kB / 485.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.1309, allocations: 77.45 kB / 485.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.1312, allocations: 283.7 kB / 485.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1312, allocations: 0 / 485.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1312, allocations: 0 / 485.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1312, allocations: 0 / 485.9 MB, free: 1.035 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.0008559/0.1321, allocations: 0.6687 MB / 486.5 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1321, allocations: 8.031 kB / 486.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.1322, allocations: 42.56 kB / 486.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.1322, allocations: 51.34 kB / 486.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.1328, allocations: 434.9 kB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1328, allocations: 4 kB / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1328, allocations: 0 / 487.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.133, allocations: 83.36 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1331, allocations: 4 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1331, allocations: 0 / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1331, allocations: 4 kB / 487.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1332, allocations: 35.91 kB / 487.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.1336, allocations: 382.2 kB / 487.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1339, allocations: 105.2 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.1339, allocations: 37.7 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.134, allocations: 7.922 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1342, allocations: 101.1 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1342, allocations: 4 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004366/0.1347, allocations: 197 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1347, allocations: 81.11 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.1358, allocations: 1.026 MB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.1359, allocations: 29.7 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1361, allocations: 232.1 kB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1361, allocations: 23.66 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.1361, allocations: 4 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1363, allocations: 378.7 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.1364, allocations: 31.92 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.1365, allocations: 51.42 kB / 489.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.1366, allocations: 39.92 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1366, allocations: 0 / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002917/0.1369, allocations: 165 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.137, allocations: 4 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.137, allocations: 4 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.137, allocations: 0.625 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1371, allocations: 27.92 kB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1371, allocations: 4 kB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1372, allocations: 7.984 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1373, allocations: 4.062 kB / 490.1 MB, free: 12.52 MB / 366.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.000227/0.1375, allocations: 233.7 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.1376, allocations: 59.2 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.1377, allocations: 60.09 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1377, allocations: 0 / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1377, allocations: 4 kB / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1377, allocations: 0 / 490.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.138, allocations: 341.4 kB / 490.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.138, allocations: 4 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.138, allocations: 4 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.138, allocations: 8 kB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1381, allocations: 4 kB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1381, allocations: 3.984 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1381, allocations: 3.984 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1384, allocations: 201.2 kB / 491 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1385, allocations: 148.4 kB / 491.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1386, allocations: 4 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.1387, allocations: 4 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1387, allocations: 11.98 kB / 491.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.1388, allocations: 8 kB / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008091/0.1396, allocations: 0.7604 MB / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1396, allocations: 0 / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1399, allocations: 40 kB / 492 MB, free: 10.54 MB / 366.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001471/0.1414, allocations: 1.065 MB / 493 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.1416, allocations: 75.91 kB / 493.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1416, allocations: 0 / 493.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-05/0.1417, allocations: 44.09 kB / 493.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1422, allocations: 69.36 kB / 493.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.1461, allocations: 2.898 MB / 496.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1465, allocations: 0.8351 MB / 497 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.1467, allocations: 51.45 kB / 497 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1469, allocations: 155.4 kB / 497.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1469, allocations: 0 / 497.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1694, allocations: 8.051 MB / 0.4934 GB, free: 13.45 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1696, allocations: 221.3 kB / 0.4936 GB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.186, allocations: 0 / 0.4936 GB, free: 13.2 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat