Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009992/0.0009995, allocations: 99.55 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.001041/0.001041, allocations: 192.7 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.455/1.455, 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.3163/0.3163, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.000264, allocations: 15.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 63.48 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002106/0.1403, allocations: 1.427 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1419, allocations: 0.9557 MB / 484 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1419, allocations: 0 / 484 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1422, allocations: 51.8 kB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1425, allocations: 87.72 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.1428, allocations: 87.83 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.143, allocations: 91.69 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.1431, allocations: 8 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.1432, allocations: 47.77 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.1432, allocations: 39.8 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1433, allocations: 0 / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1434, allocations: 35.98 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.1434, allocations: 27.91 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1435, allocations: 41.62 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1436, allocations: 100.1 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1437, allocations: 3.938 kB / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1437, allocations: 0 / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1437, allocations: 0 / 484.6 MB, free: 2.199 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.0005941/0.1443, allocations: 430.7 kB / 485.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1443, allocations: 12.03 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.1444, allocations: 34.56 kB / 485.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1444, allocations: 15.81 kB / 485.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.1447, allocations: 211.7 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1447, allocations: 11.98 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1447, allocations: 0 / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1449, allocations: 53.67 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1449, allocations: 0 / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1449, allocations: 4 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1449, allocations: 4 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.145, allocations: 19.92 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.1454, allocations: 292.9 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1456, allocations: 62.67 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1457, allocations: 24.84 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1457, allocations: 0 / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1459, allocations: 71.33 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.496e-06/0.1459, allocations: 0 / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.1465, allocations: 188.9 kB / 486.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1465, allocations: 59.36 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1468, allocations: 268 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1468, allocations: 29.7 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.1469, allocations: 116.1 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.147, allocations: 31.62 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/0.147, allocations: 0 / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1472, allocations: 330.8 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.1473, allocations: 19.98 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.1474, allocations: 33.7 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.046e-05/0.1474, allocations: 28 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1474, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1476, allocations: 105.4 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1477, allocations: 4 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1477, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1477, allocations: 4 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.1478, allocations: 15.94 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1478, allocations: 3.953 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.588e-05/0.1479, allocations: 16.02 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1479, allocations: 0 / 487.1 MB, free: 15.51 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.0001227/0.148, allocations: 133.8 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1481, allocations: 19.8 kB / 487.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/0.1481, allocations: 21.39 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1481, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1481, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1481, allocations: 7.953 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1487, allocations: 407.5 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1487, allocations: 0 / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.1487, allocations: 8 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1487, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1488, allocations: 4 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1488, allocations: 3.953 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1488, allocations: 80 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.149, allocations: 216.5 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1491, allocations: 88.92 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1491, allocations: 8 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.1492, allocations: 11.92 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1493, allocations: 7.953 kB / 488 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1493, allocations: 4 kB / 488 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1495, allocations: 204.6 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1495, allocations: 8 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1498, allocations: 20 kB / 488.2 MB, free: 14.26 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.001706/0.1515, allocations: 1.087 MB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1517, allocations: 55.92 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1517, allocations: 0 / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.1518, allocations: 27.98 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.1522, allocations: 31.92 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1538, allocations: 0.9107 MB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1541, allocations: 0.716 MB / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.1542, allocations: 21.17 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.1543, allocations: 43.42 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1543, allocations: 4 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1704, allocations: 3.33 MB / 494.5 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.1706, allocations: 220.5 kB / 494.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.052, allocations: 0 / 494.7 MB, free: 7.965 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat