Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.0008456, allocations: 101.9 kB / 17.01 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008748/0.0008749, allocations: 197.1 kB / 17.91 MB, free: 5.895 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.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002325/0.0002325, allocations: 15.92 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00199/0.1261, allocations: 1.435 MB / 483.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1278, allocations: 0.9401 MB / 484 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.1279, allocations: 0 / 484 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1282, allocations: 39.88 kB / 484.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1284, allocations: 79.67 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1287, allocations: 95.83 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1289, allocations: 87.7 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.129, allocations: 15.97 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/0.1291, allocations: 35.8 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.1291, allocations: 35.73 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1292, allocations: 0 / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.1293, allocations: 39.97 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1293, allocations: 19.92 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1294, allocations: 45.64 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1295, allocations: 92.08 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.1295, allocations: 0 / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1295, allocations: 3.938 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1296, 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.000584/0.1301, allocations: 406.9 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1302, allocations: 8.031 kB / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.1302, allocations: 34.56 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1303, allocations: 11.91 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.1306, allocations: 214.7 kB / 485.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1306, allocations: 3.938 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1306, allocations: 4 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1308, allocations: 53.67 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1308, allocations: 3.984 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1308, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1308, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.802e-05/0.1309, allocations: 19.98 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1314, allocations: 296.9 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1316, allocations: 54.61 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.1316, allocations: 20.84 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1317, allocations: 4 kB / 485.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.1319, allocations: 67.39 kB / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1319, allocations: 0 / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006329/0.1325, allocations: 185 kB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.1326, allocations: 63.3 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1328, allocations: 202.9 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1328, allocations: 25.7 kB / 486.2 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1329, allocations: 104.1 kB / 486.3 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.1329, allocations: 27.64 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.133, allocations: 8 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1331, allocations: 322.8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.1332, allocations: 19.94 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.1333, allocations: 41.64 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.1333, allocations: 31.97 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1333, allocations: 0 / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.1335, allocations: 97.53 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1336, allocations: 6.344 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1336, allocations: 4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1336, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.1337, allocations: 15.98 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1337, allocations: 3.953 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1337, allocations: 8 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1338, allocations: 4 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.0001235/0.1339, allocations: 121.9 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1339, allocations: 19.81 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.134, allocations: 17.94 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.134, allocations: 7.922 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.134, allocations: 4 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.134, allocations: 3.953 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1345, allocations: 395.4 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1345, allocations: 3.938 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.1345, allocations: 16.02 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1345, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1345, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1345, allocations: 7.953 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1346, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1348, allocations: 200.2 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.1348, allocations: 92.91 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1349, allocations: 4 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1349, allocations: 8 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.135, allocations: 19.81 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.135, allocations: 4 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1352, allocations: 152.3 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1352, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1354, allocations: 20 kB / 488 MB, free: 14.53 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.001437/0.1369, allocations: 1.086 MB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1371, allocations: 55.92 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1371, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.934e-05/0.1372, allocations: 31.92 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.0003349/0.1375, allocations: 35.84 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1387, allocations: 0.7597 MB / 490 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1391, allocations: 0.7083 MB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.1392, allocations: 20.53 kB / 490.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.1392, allocations: 35.42 kB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1392, allocations: 0 / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1534, allocations: 3.064 MB / 493.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.1536, allocations: 220.5 kB / 494 MB, free: 8.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.067, allocations: 0 / 494 MB, free: 8.68 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat