Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008026, allocations: 98.05 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008913/0.0008914, allocations: 197.8 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, 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.2132/0.2132, allocations: 45.93 MB / 344.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002981, allocations: 15.92 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.47 MB / 481.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002017/0.1321, allocations: 1.446 MB / 483.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1335, allocations: 0.9519 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.1336, allocations: 0 / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.134, allocations: 95.73 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1343, allocations: 107.7 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1346, allocations: 99.27 kB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1348, allocations: 111.7 kB / 484.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.1349, allocations: 11.98 kB / 484.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.135, allocations: 55.7 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.1351, allocations: 55.77 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1351, allocations: 0 / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1352, allocations: 55.97 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.1352, allocations: 23.92 kB / 484.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.1353, allocations: 37.64 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1355, allocations: 112 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1355, allocations: 0 / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1355, allocations: 0 / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1355, allocations: 0 / 484.8 MB, free: 2.125 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.0005099/0.136, allocations: 434.7 kB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1361, allocations: 16.02 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1361, allocations: 34.5 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.1361, allocations: 15.81 kB / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1364, allocations: 210.8 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1364, allocations: 4 kB / 485.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1364, allocations: 4 kB / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1366, allocations: 57.67 kB / 485.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1366, allocations: 0 / 485.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1366, allocations: 0 / 485.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1366, allocations: 11.98 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.445e-05/0.1367, allocations: 27.91 kB / 485.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1371, allocations: 312.7 kB / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1373, allocations: 58.55 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.1373, allocations: 24.97 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1374, allocations: 8 kB / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1376, allocations: 67.33 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1376, allocations: 0 / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000761/0.1383, allocations: 253.2 kB / 486.3 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.1384, allocations: 55.39 kB / 486.4 MB, free: 376 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1386, allocations: 251.2 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1387, allocations: 29.7 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1388, allocations: 112.1 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.1388, allocations: 31.56 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.1388, allocations: 0 / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.139, allocations: 334.8 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.139, allocations: 23.98 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.1391, allocations: 45.7 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/0.1392, allocations: 39.94 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1392, allocations: 3.938 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002052/0.1394, allocations: 125.4 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1394, allocations: 4 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1395, allocations: 7.938 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1395, allocations: 3.953 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.1396, allocations: 27.92 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1396, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1396, allocations: 8.031 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1397, allocations: 4 kB / 487.4 MB, free: 15.29 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001091/0.1398, allocations: 133.8 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1398, allocations: 11.81 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1398, allocations: 25.39 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1399, allocations: 4 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1399, allocations: 3.953 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1399, allocations: 0 / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.1404, allocations: 456.1 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1404, allocations: 0 / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.1405, allocations: 27.81 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1405, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1405, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1405, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1405, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1408, allocations: 229.1 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1408, allocations: 92.91 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1409, allocations: 11.95 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.141, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.141, allocations: 15.92 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.141, allocations: 8 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.1412, allocations: 196.2 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1415, allocations: 28 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001502/0.143, allocations: 1.176 MB / 489.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1432, allocations: 75.91 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1432, allocations: 4 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.1433, allocations: 35.92 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1437, allocations: 39.94 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1451, allocations: 0.916 MB / 490.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1454, allocations: 0.716 MB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.025e-05/0.1455, allocations: 20.59 kB / 491.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.1456, allocations: 47.41 kB / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1456, allocations: 0 / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.1602, allocations: 3.569 MB / 495.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.1604, allocations: 221 kB / 495.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.059, allocations: 4 kB / 495.4 MB, free: 7.312 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat