Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 101.2 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 194.3 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 12 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1367, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002149/0.1389, allocations: 1.392 MB / 483 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1405, allocations: 0.9324 MB / 484 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.1407, allocations: 0 / 484 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.1411, allocations: 83.75 kB / 484.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1414, allocations: 95.7 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.1417, allocations: 91.77 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1419, allocations: 91.69 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.142, allocations: 4.234 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.1421, allocations: 47.77 kB / 484.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1422, allocations: 51.77 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1422, allocations: 0 / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.1423, allocations: 31.98 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.1424, allocations: 19.92 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1424, allocations: 37.64 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1426, allocations: 88.08 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1426, allocations: 0 / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1426, allocations: 4 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1426, allocations: 0 / 484.6 MB, free: 2.285 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.0005562/0.1432, allocations: 394.9 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1432, allocations: 12.03 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1433, allocations: 30.56 kB / 485 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1433, allocations: 11.81 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1437, allocations: 223.2 kB / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1437, allocations: 4 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.1437, allocations: 0 / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1438, allocations: 53.61 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1439, allocations: 0 / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1439, allocations: 4 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1439, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.053e-05/0.144, allocations: 15.98 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1442, allocations: 189.6 kB / 485.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1444, allocations: 58.55 kB / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.1444, allocations: 20.84 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1445, allocations: 0 / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1446, allocations: 67.38 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.1447, allocations: 0 / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003013/0.145, allocations: 105.4 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.145, allocations: 51.41 kB / 485.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1453, allocations: 220.3 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1453, allocations: 25.7 kB / 486.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.1453, allocations: 108.1 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1454, allocations: 11.84 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1454, allocations: 0 / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1456, allocations: 326.8 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.1456, allocations: 19.98 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.1457, allocations: 29.72 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.1457, allocations: 15.98 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1457, allocations: 0 / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001502/0.1459, allocations: 81.44 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1459, allocations: 8 kB / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1459, allocations: 0 / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.146, allocations: 4.078 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.146, allocations: 11.98 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1461, allocations: 4.156 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1461, allocations: 4 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1461, allocations: 4 kB / 486.7 MB, free: 15.97 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 (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.0001067/0.1462, allocations: 140.5 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1463, allocations: 11.81 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1463, allocations: 20.92 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1463, allocations: 0 / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1463, allocations: 8 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1464, allocations: 3.984 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1465, allocations: 189.6 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1466, allocations: 320 / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.1466, allocations: 4 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1466, allocations: 3.984 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1466, allocations: 4 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1466, allocations: 7.938 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1466, allocations: 0 / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1468, allocations: 105 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.1469, allocations: 96.88 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1469, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.147, allocations: 11.92 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.147, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.147, allocations: 4 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1472, allocations: 165.2 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1472, allocations: 0 / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1474, allocations: 24 kB / 487.5 MB, free: 15.1 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.001406/0.1488, allocations: 0.9526 MB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.149, allocations: 39.92 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.149, allocations: 0 / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.1491, allocations: 28.05 kB / 488.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1494, allocations: 20.17 kB / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1505, allocations: 0.7231 MB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1509, allocations: 0.7118 MB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.716e-05/0.1509, allocations: 8.547 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.151, allocations: 39.42 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.151, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1659, allocations: 2.816 MB / 492.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.1663, allocations: 230.4 kB / 493 MB, free: 9.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.082, allocations: 7.938 kB / 493 MB, free: 9.676 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat