Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009251/0.0009252, allocations: 99.55 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.001219/0.001219, allocations: 193.9 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2653/0.2653, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.000251, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 63.46 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002634/0.1294, allocations: 1.705 MB / 483.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1313, allocations: 1.041 MB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1314, allocations: 0 / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1317, allocations: 47.75 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1321, allocations: 91.59 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1324, allocations: 107.8 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1327, allocations: 179.4 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1328, allocations: 29.59 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.133, allocations: 67.64 kB / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1331, allocations: 75.67 kB / 485 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1331, allocations: 4 kB / 485 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1332, allocations: 43.92 kB / 485 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.1333, allocations: 27.91 kB / 485.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.1334, allocations: 53.58 kB / 485.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1336, allocations: 140 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/0.1336, allocations: 0 / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1336, allocations: 3.938 kB / 485.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1336, allocations: 0 / 485.2 MB, free: 1.656 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008883/0.1345, allocations: 0.5487 MB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1345, allocations: 8.031 kB / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.621e-05/0.1346, allocations: 38.56 kB / 485.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.1346, allocations: 15.81 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.135, allocations: 254.5 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.135, allocations: 4 kB / 486.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.135, allocations: 11.91 kB / 486.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.1354, allocations: 166.3 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1354, allocations: 0 / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1355, allocations: 4 kB / 486.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1355, allocations: 4 kB / 486.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1359, allocations: 139.9 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/0.1367, allocations: 0.5477 MB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.1373, allocations: 182.5 kB / 487.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1376, allocations: 84.8 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1376, allocations: 4 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/0.1381, allocations: 155.2 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.1381, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009478/0.139, allocations: 301.1 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1391, allocations: 51.41 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.1394, allocations: 232.2 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1394, allocations: 33.7 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1396, allocations: 124.3 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.1396, allocations: 31.7 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1396, allocations: 3.938 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1398, allocations: 338.8 kB / 488.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.1401, allocations: 75.94 kB / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1403, allocations: 119 kB / 488.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1406, allocations: 105.7 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1406, allocations: 7.938 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006153/0.1412, allocations: 287 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.1413, allocations: 37.66 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1413, allocations: 0 / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1413, allocations: 7.984 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.1415, allocations: 43.91 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.1415, allocations: 3.984 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.1417, allocations: 39.86 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1417, allocations: 11.98 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001277/0.1419, allocations: 129.8 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1419, allocations: 15.81 kB / 489.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.142, allocations: 29.34 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.142, allocations: 4 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.142, allocations: 0 / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.142, allocations: 4 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1423, allocations: 241.4 kB / 489.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1423, allocations: 0 / 489.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1424, allocations: 27.97 kB / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1425, allocations: 0 / 489.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1425, allocations: 8 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1425, allocations: 3.953 kB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1425, allocations: 0 / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.1434, allocations: 340.6 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.1435, allocations: 96.94 kB / 490.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.1435, allocations: 8.062 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.1437, allocations: 27.97 kB / 490.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.1437, allocations: 19.92 kB / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1438, allocations: 4 kB / 490.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.144, allocations: 169.8 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.144, allocations: 0 / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1442, allocations: 47.89 kB / 490.4 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00206/0.1463, allocations: 1.182 MB / 491.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.147, allocations: 239.3 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.147, allocations: 0 / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.1473, allocations: 96.05 kB / 491.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1476, allocations: 42.47 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.15, allocations: 1.183 MB / 493.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1504, allocations: 0.7282 MB / 493.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1505, allocations: 25.53 kB / 493.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1506, allocations: 55.41 kB / 493.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1506, allocations: 0 / 493.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1688, allocations: 4.377 MB / 498.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1691, allocations: 228.2 kB / 498.5 MB, free: 4.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.098, allocations: 0 / 498.5 MB, free: 4.137 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat