Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 104.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 192.1 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.439/1.439, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 12 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 63.47 MB / 481.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001881/0.1328, allocations: 1.388 MB / 483 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1342, allocations: 0.9246 MB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.1342, allocations: 0 / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1345, allocations: 63.78 kB / 484 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1348, allocations: 83.72 kB / 484.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.135, allocations: 103.3 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1352, allocations: 91.69 kB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.1352, allocations: 4.234 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.1353, allocations: 43.83 kB / 484.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.1354, allocations: 39.78 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1354, allocations: 0 / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.1355, allocations: 28 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.1356, allocations: 19.91 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.1356, allocations: 41.62 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1358, allocations: 80.12 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1358, allocations: 0 / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1358, allocations: 0 / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1358, allocations: 0 / 484.6 MB, free: 2.293 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.0004535/0.1362, allocations: 390.9 kB / 484.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1363, allocations: 8.031 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1363, allocations: 38.56 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.1364, allocations: 11.84 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1366, allocations: 211.5 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1366, allocations: 7.938 kB / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1366, allocations: 0 / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1367, allocations: 53.67 kB / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1368, allocations: 0 / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.1368, allocations: 0 / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1368, allocations: 0 / 485.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.1368, allocations: 15.98 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.137, allocations: 185.6 kB / 485.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1372, allocations: 54.56 kB / 485.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.1372, allocations: 20.84 kB / 485.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1373, allocations: 0 / 485.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.1374, allocations: 63.39 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1374, allocations: 0 / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002543/0.1377, allocations: 101.5 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1377, allocations: 55.34 kB / 485.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1379, allocations: 190.8 kB / 485.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.138, allocations: 29.7 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.308e-05/0.138, allocations: 100.1 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1381, allocations: 11.89 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1381, allocations: 4 kB / 486.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1382, allocations: 326.8 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1383, allocations: 16 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.1383, allocations: 25.7 kB / 486.4 MB, free: 188 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.1384, allocations: 16 kB / 486.4 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1384, allocations: 4 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001436/0.1385, allocations: 81.44 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1385, allocations: 4 kB / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1386, allocations: 3.984 kB / 486.5 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1386, allocations: 8.031 kB / 486.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1387, allocations: 8 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1387, allocations: 0 / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1387, allocations: 7.938 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1387, allocations: 4.25 kB / 486.6 MB, free: 44 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.1389, allocations: 133.8 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1389, allocations: 11.84 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.1389, allocations: 16.98 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1389, allocations: 0 / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1389, allocations: 8 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.139, allocations: 0 / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1391, allocations: 193.5 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1391, allocations: 0 / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1391, allocations: 4 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1392, allocations: 3.984 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1392, allocations: 4 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1392, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1392, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1394, allocations: 109 kB / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1394, allocations: 88.97 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1395, allocations: 3.984 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.1395, allocations: 7.984 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.1396, allocations: 0 / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1396, allocations: 11.94 kB / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1397, allocations: 148.7 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1397, allocations: 0 / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1399, allocations: 24 kB / 487.3 MB, free: 15.2 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.001251/0.1412, allocations: 0.952 MB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1414, allocations: 47.91 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1414, allocations: 0 / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.1414, allocations: 20.06 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1417, allocations: 23.97 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1427, allocations: 0.6635 MB / 489 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.143, allocations: 0.7013 MB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1431, allocations: 16.41 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.1431, allocations: 31.42 kB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1432, allocations: 8 kB / 489.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.1557, allocations: 2.721 MB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.156, allocations: 230.7 kB / 492.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.007, allocations: 0 / 492.7 MB, free: 9.93 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat