Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007892/0.0007893, allocations: 98.28 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009468/0.0009467, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002329/0.000233, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1283, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001945/0.1303, allocations: 1.435 MB / 483.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1318, allocations: 0.948 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.1319, allocations: 0 / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1322, allocations: 59.8 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1325, allocations: 71.75 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.1328, allocations: 99.69 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1329, allocations: 95.69 kB / 484.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.133, allocations: 11.98 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.1331, allocations: 43.78 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.1332, allocations: 39.83 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1332, allocations: 0 / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.1333, allocations: 36 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1334, allocations: 23.91 kB / 484.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.1334, allocations: 49.52 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.1336, allocations: 96.08 kB / 484.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1336, allocations: 0 / 484.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1336, allocations: 0 / 484.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1336, allocations: 0 / 484.6 MB, free: 2.207 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.0005358/0.1341, allocations: 442.6 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1342, allocations: 8.031 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.1342, allocations: 34.55 kB / 485.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1343, allocations: 19.81 kB / 485.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1345, allocations: 215.7 kB / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1345, allocations: 0 / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1346, allocations: 0 / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1347, allocations: 61.61 kB / 485.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1347, allocations: 4 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1347, allocations: 0 / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1348, allocations: 0 / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.1348, allocations: 19.98 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.1352, allocations: 296.9 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1354, allocations: 58.62 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/0.1354, allocations: 24.84 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1355, allocations: 0 / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.1357, allocations: 67.39 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1357, allocations: 0 / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.1362, allocations: 189 kB / 486 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1363, allocations: 55.36 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1365, allocations: 276 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1365, allocations: 29.7 kB / 486.4 MB, free: 232 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1366, allocations: 112.1 kB / 486.5 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1366, allocations: 23.66 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.1366, allocations: 0 / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1368, allocations: 330.8 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.1368, allocations: 16 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.1369, allocations: 45.58 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.1369, allocations: 24 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.137, allocations: 0 / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.1371, allocations: 109.4 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1371, allocations: 4.188 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1372, allocations: 4 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1372, allocations: 3.938 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.1373, allocations: 15.98 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1373, allocations: 3.984 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1373, allocations: 12 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1373, allocations: 4.156 kB / 487.1 MB, free: 15.51 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.0001021/0.1375, allocations: 133.8 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1375, allocations: 11.81 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1375, allocations: 25.38 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1375, allocations: 4 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1375, allocations: 0 / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1376, allocations: 4.328 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.138, allocations: 407.3 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.138, allocations: 4 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.138, allocations: 11.94 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.138, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.138, allocations: 7.984 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.138, allocations: 3.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1381, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1383, allocations: 208.2 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1383, allocations: 92.91 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1384, allocations: 7.984 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1384, allocations: 4 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1385, allocations: 11.89 kB / 488 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1385, allocations: 3.984 kB / 488 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1387, allocations: 208.6 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1387, allocations: 0 / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1389, allocations: 27.98 kB / 488.2 MB, free: 14.25 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.001304/0.1402, allocations: 1.083 MB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1404, allocations: 59.91 kB / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1404, allocations: 0 / 489.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.1405, allocations: 27.92 kB / 489.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1408, allocations: 39.44 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.142, allocations: 0.8954 MB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1423, allocations: 0.716 MB / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.1424, allocations: 24.86 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.1425, allocations: 39.42 kB / 491.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1425, allocations: 0 / 491.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1556, allocations: 3.334 MB / 494.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.1558, allocations: 220.4 kB / 494.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.071, allocations: 4 kB / 494.7 MB, free: 7.965 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat