Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 100.4 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 192.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002356/0.1281, allocations: 1.431 MB / 483.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1297, allocations: 0.9479 MB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.1298, allocations: 0 / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.1302, allocations: 51.81 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1305, allocations: 71.75 kB / 484.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.1309, allocations: 95.75 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1311, allocations: 95.69 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1312, allocations: 7.984 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1313, allocations: 47.78 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.1314, allocations: 27.84 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1315, allocations: 0 / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1316, allocations: 43.98 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.1317, allocations: 19.91 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.1317, allocations: 41.64 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1319, allocations: 96.03 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1319, allocations: 4 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.238 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.0005413/0.1325, allocations: 418.7 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1325, allocations: 12.03 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1326, allocations: 34.56 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1326, allocations: 15.8 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1329, allocations: 220.4 kB / 485.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1329, allocations: 3.984 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1329, allocations: 4 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1331, allocations: 53.67 kB / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1331, allocations: 3.906 kB / 485.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1331, allocations: 3.938 kB / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1331, allocations: 0 / 485.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.1332, allocations: 19.98 kB / 485.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1336, allocations: 292.9 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1338, allocations: 54.67 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1338, allocations: 24.8 kB / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1339, allocations: 7.969 kB / 485.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.134, allocations: 67.39 kB / 485.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.592e-06/0.1341, allocations: 4 kB / 485.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.1347, allocations: 173.1 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1347, allocations: 59.34 kB / 486.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.135, allocations: 234.2 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.135, allocations: 29.7 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.1351, allocations: 108.1 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1351, allocations: 19.66 kB / 486.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.1351, allocations: 4 kB / 486.4 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1353, allocations: 330.8 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/0.1353, allocations: 20 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.1354, allocations: 33.7 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.941e-05/0.1355, allocations: 28 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1355, allocations: 0 / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1357, allocations: 113.4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1357, allocations: 8.031 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1357, allocations: 192 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1357, allocations: 4 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.1358, allocations: 23.86 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1358, allocations: 3.953 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1359, allocations: 4 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1359, allocations: 4 kB / 487 MB, free: 15.61 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.0001141/0.136, allocations: 129.8 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1361, allocations: 15.81 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.1361, allocations: 21.77 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1361, allocations: 0 / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1361, allocations: 0 / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1361, allocations: 3.953 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1366, allocations: 403.3 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1366, allocations: 0 / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.1367, allocations: 11.98 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1367, allocations: 4.031 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1367, allocations: 4 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1367, allocations: 3.953 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1367, allocations: 7.922 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1369, allocations: 200.2 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.137, allocations: 89 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.137, allocations: 8 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.1371, allocations: 4 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1371, allocations: 11.94 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1371, allocations: 4 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1373, allocations: 176.4 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1373, allocations: 0 / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1376, allocations: 24 kB / 488.1 MB, free: 14.41 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.001466/0.1391, allocations: 1.095 MB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1393, allocations: 63.91 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1393, allocations: 0 / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.1393, allocations: 23.98 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1397, allocations: 36.11 kB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.141, allocations: 0.8045 MB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1413, allocations: 0.7199 MB / 490.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.1413, allocations: 12.88 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.1414, allocations: 39.42 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1414, allocations: 0 / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.157, allocations: 3.166 MB / 494.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.1573, allocations: 230.5 kB / 494.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.031, allocations: 0 / 494.3 MB, free: 8.387 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat