Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 93.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, 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.2196/0.2196, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.000276, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.13, allocations: 63.47 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002204/0.1323, allocations: 1.435 MB / 483.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1344, allocations: 1.523 MB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1345, allocations: 0 / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1348, allocations: 31.83 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1351, allocations: 83.73 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1354, allocations: 87.45 kB / 484.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1355, allocations: 91.7 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.1356, allocations: 15.98 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.989e-05/0.1357, allocations: 39.78 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1359, allocations: 43.77 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1359, allocations: 4 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.136, allocations: 87.94 kB / 485.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1361, allocations: 11.92 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.1361, allocations: 37.64 kB / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1363, allocations: 132 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1364, allocations: 0 / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1364, allocations: 4 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1364, 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.0005122/0.1369, allocations: 418.9 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1369, allocations: 8.031 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.137, allocations: 38.5 kB / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.137, allocations: 7.906 kB / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1373, allocations: 203.5 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1373, allocations: 0 / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1373, allocations: 4 kB / 485.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1375, allocations: 71.39 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1375, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1376, allocations: 3.984 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1376, allocations: 4 kB / 486 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.1376, allocations: 19.92 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.138, allocations: 284.8 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1382, allocations: 62.67 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.1382, allocations: 16.86 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1383, allocations: 0 / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1384, allocations: 79.22 kB / 486.5 MB, free: 216 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1384, allocations: 4 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.139, allocations: 169.2 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.1391, allocations: 85.06 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1392, allocations: 161.9 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1392, allocations: 25.7 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1393, allocations: 100.1 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1393, allocations: 27.64 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1394, allocations: 4 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1395, allocations: 322.8 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1395, allocations: 20 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.1396, allocations: 42.56 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.1397, allocations: 28 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1397, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1399, allocations: 105.5 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1399, allocations: 12 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1399, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1399, allocations: 4 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.14, allocations: 19.92 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.14, allocations: 3.953 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.1401, allocations: 4.375 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1401, allocations: 8 kB / 487.6 MB, free: 15.02 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.0001025/0.1402, allocations: 121.8 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1403, allocations: 11.91 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1403, allocations: 16.72 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1403, allocations: 4 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1403, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1403, allocations: 3.953 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1408, allocations: 387.3 kB / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1408, allocations: 0 / 488.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1408, allocations: 11.98 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1408, allocations: 4.031 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1408, allocations: 8 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1408, allocations: 3.953 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1408, allocations: 3.938 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1411, allocations: 196.3 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1411, allocations: 96.91 kB / 488.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.1412, allocations: 4 kB / 488.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1412, allocations: 8.188 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1413, allocations: 11.94 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1413, allocations: 7.938 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1414, allocations: 123.2 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1414, allocations: 0 / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.1417, allocations: 47.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.001559/0.1433, allocations: 1.175 MB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1435, allocations: 55.91 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1435, allocations: 4.062 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.1436, allocations: 31.98 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1439, allocations: 27.94 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.145, allocations: 0.6703 MB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1453, allocations: 0.6965 MB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.275e-05/0.1454, allocations: 21.17 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1455, allocations: 39.41 kB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1455, allocations: 0 / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.1609, 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.0002985/0.1613, allocations: 236.1 kB / 495.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.058, allocations: 0 / 495.1 MB, free: 7.566 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat