Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008065/0.0008066, allocations: 91.23 kB / 17 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009387/0.0009389, allocations: 193.5 kB / 17.9 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 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.2149/0.2149, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002626, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 63.48 MB / 481.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.00208/0.1318, allocations: 1.431 MB / 483.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1332, allocations: 0.944 MB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.1333, allocations: 0 / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.1336, allocations: 43.81 kB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1338, allocations: 75.73 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1341, allocations: 99.45 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1343, allocations: 95.67 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.1344, allocations: 16 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.1345, allocations: 39.78 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.1345, allocations: 27.86 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1346, allocations: 0 / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.1347, allocations: 39.97 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1347, allocations: 19.92 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1348, allocations: 37.64 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.1349, allocations: 96.08 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1349, allocations: 0 / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1349, allocations: 0 / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1349, allocations: 4 kB / 484.6 MB, free: 2.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005289/0.1355, allocations: 406.8 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1355, allocations: 8.031 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.1356, allocations: 34.5 kB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1356, allocations: 11.91 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1358, allocations: 214.7 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1358, allocations: 0 / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1359, allocations: 7.984 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.136, allocations: 61.66 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.136, allocations: 0 / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1361, allocations: 0 / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1361, allocations: 0 / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.1361, allocations: 23.92 kB / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1365, allocations: 284.9 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1367, allocations: 58.67 kB / 485.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.1367, allocations: 16.86 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1368, allocations: 4 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1369, allocations: 67.33 kB / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1369, allocations: 0 / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.1375, allocations: 189 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1375, allocations: 59.36 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1377, allocations: 206.9 kB / 486.2 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1378, allocations: 25.7 kB / 486.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.1378, allocations: 104.1 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1379, allocations: 23.66 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.1379, allocations: 4 kB / 486.4 MB, free: 280 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.138, allocations: 322.8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.396e-05/0.1381, allocations: 23.98 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1382, allocations: 45.62 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.596e-05/0.1382, allocations: 20 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1382, allocations: 3.938 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1384, allocations: 101.5 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1384, allocations: 4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1384, allocations: 4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1385, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.1385, allocations: 16.03 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1386, allocations: 8.266 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1386, allocations: 7.984 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1386, allocations: 8 kB / 486.9 MB, free: 15.7 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 (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 0.0001096/0.1388, allocations: 117.8 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1388, allocations: 23.8 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1388, allocations: 13.41 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1388, allocations: 0 / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1388, allocations: 8 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.1389, allocations: 3.953 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1393, allocations: 399.3 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1393, allocations: 0 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.1393, allocations: 8 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1393, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1394, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1394, allocations: 7.953 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1394, allocations: 8.016 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1396, allocations: 204.1 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.1397, allocations: 88.92 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1397, allocations: 0 / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1398, allocations: 11.98 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1398, allocations: 7.953 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1398, allocations: 8 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.14, allocations: 156.3 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.14, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1402, allocations: 20 kB / 488 MB, free: 14.53 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: 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.001407/0.1416, allocations: 1.1 MB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1418, allocations: 55.92 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1418, allocations: 0 / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.1419, allocations: 32.05 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1422, allocations: 27.88 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1434, allocations: 0.7631 MB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1437, allocations: 0.7082 MB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.1438, allocations: 20.88 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.1438, allocations: 39.36 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1439, allocations: 0 / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.1619, allocations: 3.065 MB / 493.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.1622, allocations: 220 kB / 494 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.037, allocations: 0 / 494 MB, free: 8.668 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat