Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009283/0.0009283, allocations: 99.64 kB / 17 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 196.4 kB / 17.91 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003268, allocations: 15.94 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 63.47 MB / 481.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002092/0.1406, allocations: 1.443 MB / 483.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1422, allocations: 0.948 MB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.1423, allocations: 0 / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1426, allocations: 83.75 kB / 484.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.1429, allocations: 95.7 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1432, allocations: 103.8 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1434, allocations: 99.69 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1435, allocations: 8 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1436, allocations: 51.77 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1437, allocations: 51.81 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1437, allocations: 3.938 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1438, allocations: 47.98 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.1439, allocations: 23.92 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.1439, allocations: 41.58 kB / 484.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1441, allocations: 108 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1442, allocations: 0 / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1442, allocations: 0 / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1442, allocations: 0 / 484.8 MB, free: 2.082 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.0005918/0.1448, allocations: 418.9 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1448, allocations: 12.03 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1449, allocations: 30.56 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.1449, allocations: 19.81 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1452, allocations: 219.2 kB / 485.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1452, allocations: 0 / 485.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1452, allocations: 4 kB / 485.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1454, allocations: 61.66 kB / 485.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1454, allocations: 0 / 485.5 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1454, allocations: 4 kB / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1454, allocations: 0 / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.1455, allocations: 19.98 kB / 485.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1459, allocations: 320.6 kB / 485.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1462, allocations: 62.55 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.1462, allocations: 20.97 kB / 485.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1463, allocations: 4 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1464, allocations: 79.31 kB / 486 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1464, allocations: 0 / 486 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007248/0.1472, allocations: 245.1 kB / 486.2 MB, free: 420 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1472, allocations: 51.41 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1474, allocations: 216.2 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1475, allocations: 33.69 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.093e-05/0.1476, allocations: 108.1 kB / 486.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1476, allocations: 35.5 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.1476, allocations: 4 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1478, allocations: 322.8 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.1478, allocations: 31.98 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.1479, allocations: 45.69 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.148, allocations: 36.05 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.148, allocations: 3.938 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002143/0.1482, allocations: 133.4 kB / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1483, allocations: 6.031 kB / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1483, allocations: 0 / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1483, allocations: 3.953 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.1484, allocations: 23.98 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1484, allocations: 3.938 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1484, allocations: 8 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1485, allocations: 7.938 kB / 487.3 MB, free: 15.3 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.0001143/0.1486, allocations: 133.9 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.1486, allocations: 11.81 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.1487, allocations: 21.39 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1487, allocations: 0 / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1487, allocations: 3.953 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1487, allocations: 3.984 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.1492, allocations: 452.1 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1493, allocations: 0 / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1493, allocations: 23.88 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1493, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1493, allocations: 4 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1493, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1494, allocations: 7.938 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.1496, allocations: 233.1 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1497, allocations: 88.92 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1497, allocations: 11.94 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1498, allocations: 4 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.1499, allocations: 7.984 kB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1499, allocations: 8 kB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.15, allocations: 165.2 kB / 488.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.15, allocations: 4 kB / 488.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1503, allocations: 35.92 kB / 488.5 MB, free: 14 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.001675/0.152, allocations: 1.169 MB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1522, allocations: 79.84 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1522, allocations: 7.938 kB / 489.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.1523, allocations: 35.98 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1527, allocations: 28.17 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.154, allocations: 0.8475 MB / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1543, allocations: 0.7196 MB / 491.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.1544, allocations: 16.64 kB / 491.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.1545, allocations: 43.42 kB / 491.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1545, allocations: 4 kB / 491.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.1689, allocations: 3.415 MB / 494.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.1691, allocations: 227.6 kB / 495.1 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.079, allocations: 0 / 495.1 MB, free: 7.586 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat