Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008266/0.0008265, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009828/0.0009828, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002667, allocations: 12 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 63.48 MB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002299/0.1362, allocations: 1.392 MB / 483 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1379, allocations: 0.9324 MB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.138, allocations: 0 / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1384, allocations: 59.8 kB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1387, allocations: 83.72 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.1391, allocations: 95.77 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1393, allocations: 95.67 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.1394, allocations: 4.234 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.1395, allocations: 39.78 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1396, allocations: 47.77 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1396, allocations: 0 / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1397, allocations: 28 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.1398, allocations: 11.92 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.1399, allocations: 37.64 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.14, allocations: 88.09 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1401, allocations: 4 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1401, allocations: 0 / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1401, allocations: 0 / 484.6 MB, free: 2.301 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004862/0.1406, allocations: 386.9 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1406, allocations: 8.031 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.1407, allocations: 38.55 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1407, allocations: 19.83 kB / 485 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.141, allocations: 199.5 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.141, allocations: 8 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.141, allocations: 0 / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1412, allocations: 57.61 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1412, allocations: 0 / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1412, allocations: 0 / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1412, allocations: 0 / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.1413, allocations: 12 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.1415, allocations: 185.6 kB / 485.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1417, allocations: 50.62 kB / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1417, allocations: 20.84 kB / 485.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1418, allocations: 11.92 kB / 485.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.1419, allocations: 67.39 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.142, allocations: 0 / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000277/0.1422, allocations: 97.48 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1423, allocations: 51.41 kB / 485.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1425, allocations: 190.9 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1425, allocations: 33.64 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1426, allocations: 104.1 kB / 486.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1426, allocations: 7.906 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.1427, allocations: 4 kB / 486.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1428, allocations: 326.8 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1429, allocations: 19.98 kB / 486.4 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.1429, allocations: 25.7 kB / 486.4 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.143, allocations: 16 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.143, allocations: 0 / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001381/0.1431, allocations: 85.44 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1432, allocations: 4 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1432, allocations: 0 / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1432, allocations: 4.031 kB / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1433, allocations: 15.98 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1433, allocations: 0 / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.1434, allocations: 7.938 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.1434, allocations: 3.938 kB / 486.6 MB, free: 48 kB / 350.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 (7): * Single equations (assignments): 7 * 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.000121/0.1435, allocations: 132.6 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.1435, allocations: 11.91 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.1436, allocations: 13 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1436, allocations: 0 / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1436, allocations: 4 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1436, allocations: 3.984 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1438, allocations: 189.5 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1438, allocations: 3.938 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.1438, allocations: 4 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1438, allocations: 0 / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1438, allocations: 0 / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1439, allocations: 7.984 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1439, allocations: 0 / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.144, allocations: 105.3 kB / 487 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.1441, allocations: 97 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1441, allocations: 4 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.331e-05/0.1442, allocations: 0 / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.1442, allocations: 7.984 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1442, allocations: 8 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1444, allocations: 144.7 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1444, allocations: 0 / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.1446, allocations: 28 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001249/0.1458, allocations: 0.9544 MB / 488.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.146, allocations: 43.92 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.146, allocations: 0 / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.1461, allocations: 24.05 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1463, allocations: 22.17 kB / 488.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1474, allocations: 0.6674 MB / 489 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1477, allocations: 0.7013 MB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.1478, allocations: 20.39 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.1478, allocations: 31.42 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1478, allocations: 4 kB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1614, allocations: 2.716 MB / 492.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.1617, allocations: 230.5 kB / 492.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.026, allocations: 0 / 492.7 MB, free: 9.941 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat