Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009099/0.00091, allocations: 93.19 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 194.5 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2099/0.2099, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 15.92 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 63.45 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002145/0.1291, allocations: 1.439 MB / 483.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1315, allocations: 1.519 MB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1316, allocations: 4 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1319, allocations: 31.83 kB / 484.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1323, allocations: 83.73 kB / 484.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1326, allocations: 91.45 kB / 484.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1328, allocations: 91.69 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.1329, allocations: 11.98 kB / 484.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.133, allocations: 35.8 kB / 484.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1331, allocations: 47.77 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1332, allocations: 0 / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1334, allocations: 91.94 kB / 485.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.1334, allocations: 11.92 kB / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.1335, allocations: 37.64 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1337, allocations: 136 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1337, allocations: 4 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1337, allocations: 0 / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1337, allocations: 0 / 485.3 MB, free: 1.59 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.0005935/0.1343, allocations: 406.9 kB / 485.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1344, allocations: 19.95 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.1344, allocations: 34.5 kB / 485.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1345, allocations: 7.906 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1347, allocations: 207.5 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1348, allocations: 0 / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1348, allocations: 4 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.135, allocations: 71.39 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.135, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.135, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.135, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1351, allocations: 23.92 kB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1355, allocations: 300.8 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1357, allocations: 58.67 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.1357, allocations: 16.86 kB / 486.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1358, allocations: 0 / 486.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1359, allocations: 75.23 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.136, allocations: 0 / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.1365, allocations: 165.3 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.1366, allocations: 89.06 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1368, allocations: 161.9 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1368, allocations: 25.7 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.1369, allocations: 100.1 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1369, allocations: 31.64 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1369, allocations: 0 / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.137, allocations: 318.8 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.1371, allocations: 19.98 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.1372, allocations: 42.56 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.1372, allocations: 28 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1373, allocations: 0 / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.1374, allocations: 109.5 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1375, allocations: 10.03 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1375, allocations: 3.938 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1375, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.1376, allocations: 19.92 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1376, allocations: 7.953 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.1377, allocations: 0 / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1377, allocations: 8.188 kB / 487.6 MB, free: 15.03 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.0001131/0.1378, allocations: 121.9 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1378, allocations: 15.83 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.1379, allocations: 12.72 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1379, allocations: 3.984 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1379, allocations: 0 / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1379, allocations: 3.953 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1384, allocations: 395.3 kB / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1384, allocations: 32 / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-05/0.1384, allocations: 15.98 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1384, allocations: 0 / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1385, allocations: 4 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1385, allocations: 8.328 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1385, allocations: 3.938 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1387, allocations: 192.3 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.1388, allocations: 100.9 kB / 488.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.1388, allocations: 4 kB / 488.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1389, allocations: 8 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1389, allocations: 11.94 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.139, allocations: 0 / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1391, allocations: 127.2 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1394, allocations: 43.98 kB / 488.6 MB, free: 13.87 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.001631/0.1411, allocations: 1.172 MB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1413, allocations: 63.91 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1413, allocations: 0 / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.93e-05/0.1414, allocations: 27.98 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1417, allocations: 27.94 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.143, allocations: 0.6781 MB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1433, allocations: 0.6965 MB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.26e-05/0.1434, allocations: 25.17 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.1435, allocations: 35.41 kB / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1435, allocations: 0 / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1608, allocations: 3.541 MB / 494.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.1612, allocations: 226.2 kB / 495.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.079, allocations: 0 / 495.1 MB, free: 7.574 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat