Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 95.44 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002641/0.0002641, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.47 MB / 481.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002106/0.1374, allocations: 1.435 MB / 483.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.139, allocations: 0.944 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.585e-05/0.1391, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1395, allocations: 35.84 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.1397, allocations: 75.73 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.14, allocations: 87.83 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1402, allocations: 83.7 kB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.1403, allocations: 19.97 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.547e-05/0.1403, allocations: 35.8 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1404, allocations: 27.8 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1404, allocations: 4 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.1405, allocations: 39.97 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.1406, allocations: 15.92 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.1406, allocations: 41.64 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.1408, allocations: 84.09 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1408, allocations: 3.938 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1408, allocations: 0 / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1408, allocations: 4 kB / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005277/0.1414, allocations: 391 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1414, allocations: 12.03 kB / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1415, allocations: 34.56 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1415, allocations: 11.91 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1418, allocations: 202.8 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1418, allocations: 4 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1418, allocations: 4 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1419, allocations: 61.61 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.142, allocations: 3.906 kB / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.142, allocations: 0 / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.142, allocations: 0 / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.1421, allocations: 19.98 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1424, allocations: 284.9 kB / 485.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1426, allocations: 66.61 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.1427, allocations: 16.86 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1427, allocations: 0 / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.1429, allocations: 63.39 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.797e-06/0.1429, allocations: 0 / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.1434, allocations: 181.1 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.1435, allocations: 63.36 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.1437, allocations: 170.2 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1437, allocations: 29.7 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.1438, allocations: 92.14 kB / 486.3 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1438, allocations: 31.58 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1438, allocations: 4 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1439, allocations: 322.8 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.144, allocations: 19.98 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.1441, allocations: 41.66 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1442, allocations: 23.98 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1442, allocations: 0 / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1443, allocations: 101.5 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1444, allocations: 4 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1444, allocations: 0 / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1444, allocations: 0 / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.1445, allocations: 24.02 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1445, allocations: 3.953 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1446, allocations: 8 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1446, allocations: 0 / 486.8 MB, free: 15.82 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.0001024/0.1447, allocations: 121.8 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1447, allocations: 11.81 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.1447, allocations: 16.72 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1448, allocations: 7.984 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1448, allocations: 384 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1448, allocations: 11.94 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1452, allocations: 383.3 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1452, allocations: 4 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.1453, allocations: 11.94 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1453, allocations: 0 / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1453, allocations: 8 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1453, allocations: 3.953 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1453, allocations: 3.984 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1455, allocations: 196.3 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.1456, allocations: 92.92 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.1456, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.1457, allocations: 11.92 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1458, allocations: 11.95 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1458, allocations: 8 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1459, allocations: 131.2 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1459, allocations: 0 / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1462, allocations: 24.19 kB / 487.9 MB, free: 14.67 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.00147/0.1476, allocations: 1.085 MB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1478, allocations: 55.91 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1478, allocations: 0 / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.1479, allocations: 39.98 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1483, allocations: 30.5 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1494, allocations: 0.6663 MB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1497, allocations: 0.704 MB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1498, allocations: 20.88 kB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.1499, allocations: 35.42 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1499, allocations: 0 / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1648, allocations: 2.89 MB / 493.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.165, allocations: 221.2 kB / 493.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.995, allocations: 0 / 493.6 MB, free: 9.082 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat