Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009246/0.0009242, allocations: 96.41 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002724, allocations: 15.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.0023/0.1438, allocations: 1.442 MB / 483.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1455, allocations: 0.944 MB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.1456, allocations: 7.938 kB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1459, allocations: 43.83 kB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.1462, allocations: 75.73 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1465, allocations: 83.83 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1466, allocations: 91.7 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.1467, allocations: 11.98 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1469, allocations: 43.78 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.147, allocations: 31.78 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.147, allocations: 4 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.1471, allocations: 32 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.1471, allocations: 23.91 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.1472, allocations: 37.64 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1473, allocations: 88.09 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0001085/0.1475, allocations: 0 / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1475, allocations: 7.938 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1475, allocations: 0 / 484.6 MB, free: 2.266 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.000529/0.148, allocations: 410.9 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1481, allocations: 12.03 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.1482, allocations: 30.56 kB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1482, allocations: 7.906 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1486, allocations: 214.7 kB / 485.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1486, allocations: 4 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1486, allocations: 0 / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1487, allocations: 53.67 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1488, allocations: 8 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1488, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1488, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.1489, allocations: 15.98 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1493, allocations: 292.9 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1494, allocations: 58.62 kB / 485.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.206e-05/0.1495, allocations: 24.84 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1495, allocations: 0 / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1497, allocations: 67.38 kB / 485.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1497, allocations: 0 / 485.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000554/0.1503, allocations: 185 kB / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1503, allocations: 63.3 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1506, allocations: 202.9 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1506, allocations: 33.7 kB / 486.3 MB, free: 416 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1507, allocations: 100.1 kB / 486.3 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1508, allocations: 27.64 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1508, allocations: 0 / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1509, allocations: 330.8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.302e-05/0.151, allocations: 23.92 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.1511, allocations: 33.72 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.1511, allocations: 27.98 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1511, allocations: 0 / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1513, allocations: 101.5 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1513, allocations: 4 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1513, allocations: 0 / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1514, allocations: 0 / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.1514, allocations: 19.98 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1515, allocations: 7.984 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.1515, allocations: 8 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1515, allocations: 0.5312 kB / 486.9 MB, free: 15.71 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.0001388/0.1517, allocations: 136.4 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1517, allocations: 11.81 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.1518, allocations: 25.38 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1518, allocations: 0 / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1518, allocations: 4 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.1518, allocations: 7.938 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1522, allocations: 391.3 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1522, allocations: 0 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1523, allocations: 11.98 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1523, allocations: 4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1523, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1523, allocations: 3.953 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1523, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1525, allocations: 208.2 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1526, allocations: 92.91 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1526, allocations: 11.94 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1527, allocations: 0 / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1528, allocations: 15.88 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1528, allocations: 4 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1529, allocations: 160.3 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1532, allocations: 27.98 kB / 488 MB, free: 14.52 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.001408/0.1546, allocations: 1.075 MB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.1548, allocations: 55.95 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1548, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.1549, allocations: 31.94 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1553, allocations: 36.05 kB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1565, allocations: 0.7595 MB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1568, allocations: 0.7082 MB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.971e-05/0.1569, allocations: 12.55 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.157, allocations: 43.42 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.157, allocations: 0 / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1734, allocations: 3.058 MB / 493.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.1736, allocations: 227.8 kB / 494 MB, free: 8.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.06, allocations: 0 / 494 MB, free: 8.68 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat