Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007809/0.000781, allocations: 96.59 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008839/0.0008839, allocations: 190.2 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.409/1.409, allocations: 227.3 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.2238/0.2238, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 63.48 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002156/0.1314, allocations: 1.431 MB / 483.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1336, allocations: 1.523 MB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.1337, allocations: 4 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.134, allocations: 31.84 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1343, allocations: 79.73 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1346, allocations: 91.77 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1348, allocations: 95.67 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1349, allocations: 8 kB / 484.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.135, allocations: 43.78 kB / 485 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1352, allocations: 35.84 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1352, allocations: 4 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1354, allocations: 95.81 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.1354, allocations: 15.92 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.1355, allocations: 33.7 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1357, allocations: 135.9 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1357, allocations: 0 / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1357, allocations: 0 / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1357, allocations: 0 / 485.3 MB, free: 1.617 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.000567/0.1363, allocations: 415 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1363, allocations: 8.031 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.1364, allocations: 38.56 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.1364, allocations: 7.906 kB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.1367, allocations: 207.5 kB / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1367, allocations: 0 / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1367, allocations: 3.984 kB / 485.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1369, allocations: 75.27 kB / 486 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1369, allocations: 4 kB / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1369, allocations: 0 / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1369, allocations: 4 kB / 486 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.137, allocations: 15.98 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1374, allocations: 292.8 kB / 486.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1376, allocations: 58.61 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.1377, allocations: 28.84 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1377, allocations: 0 / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.1379, allocations: 67.3 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1379, allocations: 0 / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.1385, allocations: 169.3 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1386, allocations: 81.06 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1388, allocations: 162.5 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1388, allocations: 29.7 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.1389, allocations: 92.14 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1389, allocations: 27.64 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1389, allocations: 8 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.139, allocations: 318.8 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1391, allocations: 23.92 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.647e-05/0.1392, allocations: 50.56 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/0.1393, allocations: 20 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1393, allocations: 192 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.1395, allocations: 101.4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1395, allocations: 7.938 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1395, allocations: 0 / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1395, allocations: 4 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.1396, allocations: 19.98 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1396, allocations: 8.016 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.1397, allocations: 4 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1397, allocations: 4 kB / 487.6 MB, free: 15.06 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.0001179/0.1398, allocations: 117.8 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.1399, allocations: 19.89 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.1399, allocations: 16.66 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1399, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.14, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.14, allocations: 12.25 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.1405, allocations: 399.5 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1405, allocations: 4 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1405, allocations: 8 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1405, allocations: 4 kB / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1405, allocations: 0 / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1406, allocations: 3.953 kB / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1406, allocations: 0 / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1408, allocations: 204.3 kB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1409, allocations: 92.92 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.1409, allocations: 7.984 kB / 488.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.141, allocations: 0 / 488.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1411, allocations: 11.89 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1411, allocations: 7.984 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1412, allocations: 130.5 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1412, allocations: 0 / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1416, allocations: 48 kB / 488.6 MB, free: 13.89 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.001789/0.1434, allocations: 1.177 MB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1436, allocations: 55.92 kB / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1436, allocations: 0 / 489.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.1437, allocations: 31.92 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1441, allocations: 31.92 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1452, allocations: 0.6665 MB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1455, allocations: 0.7004 MB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.1456, allocations: 13.19 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.1457, allocations: 39.42 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1457, allocations: 0 / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1629, allocations: 3.54 MB / 494.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/0.1632, allocations: 234.1 kB / 495.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.1, allocations: 0 / 495.1 MB, free: 7.598 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat