Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 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.2105/0.2105, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002549, allocations: 19.92 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1294, allocations: 63.47 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002116/0.1316, allocations: 1.435 MB / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1332, allocations: 0.9479 MB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1333, allocations: 0 / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1336, allocations: 55.8 kB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1339, allocations: 83.72 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1342, allocations: 91.77 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1344, allocations: 91.7 kB / 484.4 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.1345, allocations: 11.98 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.1346, allocations: 43.78 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.1347, allocations: 39.78 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1347, allocations: 0 / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.1348, allocations: 32 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1349, allocations: 35.83 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.1349, allocations: 37.64 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1351, allocations: 100.1 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.1351, allocations: 3.984 kB / 484.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1352, allocations: 3.938 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1352, allocations: 4 kB / 484.7 MB, free: 2.23 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.0006033/0.1358, allocations: 430.7 kB / 485.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1358, allocations: 12.03 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.528e-05/0.1359, allocations: 30.56 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1359, allocations: 15.81 kB / 485.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1362, allocations: 215.7 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1362, allocations: 4 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1362, allocations: 0 / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1364, allocations: 57.67 kB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1364, allocations: 0 / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1364, allocations: 3.938 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1364, allocations: 4 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.1365, allocations: 15.98 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1369, allocations: 296.9 kB / 485.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.137, allocations: 62.67 kB / 485.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.1371, allocations: 20.8 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1371, allocations: 0 / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.1373, allocations: 67.39 kB / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1373, allocations: 0 / 485.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.1379, allocations: 185 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1379, allocations: 67.3 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1382, allocations: 268 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1382, allocations: 33.7 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.1383, allocations: 112.1 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1383, allocations: 27.64 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.1383, allocations: 0 / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1385, allocations: 330.8 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.1386, allocations: 16 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.1386, allocations: 37.7 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.994e-05/0.1387, allocations: 31.92 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1387, allocations: 0 / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001768/0.1389, allocations: 97.69 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1389, allocations: 4 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1389, allocations: 3.938 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1389, allocations: 4 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.139, allocations: 20.33 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.139, allocations: 7.953 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.1391, allocations: 8 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1391, allocations: 4 kB / 487.1 MB, free: 15.55 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.0001086/0.1392, allocations: 133.8 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1392, allocations: 15.81 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.1393, allocations: 21.39 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1393, allocations: 3.984 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1393, allocations: 0 / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1393, allocations: 11.95 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.1398, allocations: 403.3 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1398, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.1399, allocations: 11.98 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1399, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1399, allocations: 4 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1399, allocations: 3.953 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1399, allocations: 3.938 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1401, allocations: 204.5 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1402, allocations: 92.91 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1402, allocations: 8 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1403, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1403, allocations: 15.88 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1404, allocations: 4 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1406, allocations: 204.6 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1406, allocations: 4 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1408, allocations: 27.98 kB / 488.2 MB, free: 14.3 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.001532/0.1424, allocations: 1.083 MB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1425, allocations: 63.91 kB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1426, allocations: 0 / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.1426, allocations: 28.11 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.143, allocations: 27.94 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1443, allocations: 0.9029 MB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1446, allocations: 0.716 MB / 491.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.1447, allocations: 25.17 kB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1448, allocations: 43.42 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1448, allocations: 4 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1589, allocations: 3.333 MB / 494.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.1592, allocations: 228.3 kB / 494.7 MB, free: 8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/1.994, allocations: 0 / 494.7 MB, free: 8 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat