Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 92.92 kB / 17 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 194.5 kB / 17.91 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004439, allocations: 11.94 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 63.47 MB / 481.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002259/0.1464, allocations: 1.623 MB / 483.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.148, allocations: 0.9907 MB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.142e-05/0.1481, allocations: 3.938 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1484, allocations: 35.83 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1487, allocations: 75.69 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.149, allocations: 107.8 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1492, allocations: 131.5 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1493, allocations: 21.55 kB / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1494, allocations: 47.72 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.1495, allocations: 43.77 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1495, allocations: 8 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.1496, allocations: 39.94 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1497, allocations: 19.86 kB / 484.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.1497, allocations: 49.62 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1499, allocations: 108 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1499, allocations: 0 / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1499, allocations: 0 / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.15, allocations: 0 / 484.9 MB, free: 1.883 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006567/0.1506, allocations: 472.3 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1507, allocations: 12.03 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1507, allocations: 34.56 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1508, allocations: 19.81 kB / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.151, allocations: 224.4 kB / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1511, allocations: 4 kB / 485.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1511, allocations: 8 kB / 485.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1513, allocations: 114.8 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1514, allocations: 0 / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1514, allocations: 4 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1514, allocations: 0 / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1515, allocations: 59.89 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.1521, allocations: 0.5126 MB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.1525, allocations: 90.59 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.1526, allocations: 36.84 kB / 486.5 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1526, allocations: 8 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.1528, allocations: 79.38 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1528, allocations: 0 / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004117/0.1532, allocations: 153.3 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1533, allocations: 59.34 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1535, allocations: 198.2 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1535, allocations: 29.7 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.1536, allocations: 120.2 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1537, allocations: 27.7 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1537, allocations: 8 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1538, allocations: 322.8 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.1539, allocations: 31.92 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1541, allocations: 72.2 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.1542, allocations: 35.98 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1542, allocations: 0 / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.1544, allocations: 145.4 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1545, allocations: 8.031 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1545, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1545, allocations: 7.953 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.1546, allocations: 23.98 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1546, allocations: 0 / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.1547, allocations: 19.84 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1547, allocations: 4 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002081/0.1549, allocations: 139.8 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.155, allocations: 15.81 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.155, allocations: 13.41 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.155, allocations: 3.953 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1551, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1551, allocations: 7.984 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1553, allocations: 209.6 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1553, allocations: 0 / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.1554, allocations: 12 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1554, allocations: 3.984 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1555, allocations: 8 kB / 488.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1555, allocations: 0 / 488.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1555, allocations: 3.953 kB / 488.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.1558, allocations: 188.9 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.1559, allocations: 96.88 kB / 488.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.156, allocations: 12.06 kB / 488.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.156, allocations: 8 kB / 488.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1561, allocations: 7.922 kB / 488.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1561, allocations: 7.953 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1562, allocations: 144.4 kB / 488.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1563, allocations: 0 / 488.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.1565, allocations: 27.98 kB / 488.7 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001574/0.1581, allocations: 1.014 MB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1584, allocations: 87.89 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1584, allocations: 0 / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.1585, allocations: 40.11 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1588, allocations: 39.09 kB / 489.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1603, allocations: 0.862 MB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1606, allocations: 0.7243 MB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.022e-05/0.1607, allocations: 17.42 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1608, allocations: 39.42 kB / 491.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1608, allocations: 0 / 491.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.1781, allocations: 3.352 MB / 494.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1783, allocations: 216 kB / 495.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.139, allocations: 4 kB / 495.1 MB, free: 7.48 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat