Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009112/0.0009113, allocations: 103.2 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 194.5 kB / 17.9 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246 MB, free: 10.24 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.9 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.000284, allocations: 16 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 63.47 MB / 481.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002038/0.1346, allocations: 1.431 MB / 483.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1361, allocations: 0.944 MB / 484 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.1362, allocations: 0 / 484 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1364, allocations: 43.83 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1367, allocations: 75.73 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.137, allocations: 87.78 kB / 484.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1372, allocations: 91.69 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.1372, allocations: 8 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.287e-05/0.1373, allocations: 43.77 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.1374, allocations: 27.86 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1374, allocations: 4 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.1375, allocations: 39.98 kB / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1376, allocations: 15.91 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.1376, allocations: 37.64 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1378, allocations: 84.11 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1378, allocations: 0 / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1378, allocations: 0 / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1378, allocations: 0 / 484.6 MB, free: 2.262 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.0004884/0.1383, allocations: 398.9 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1384, allocations: 16.03 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.1384, allocations: 30.56 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1385, allocations: 11.81 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1387, allocations: 214.8 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1387, allocations: 4 kB / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1388, allocations: 4 kB / 485.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1389, allocations: 53.67 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1389, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.139, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.139, allocations: 4 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.1391, allocations: 23.98 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.1395, allocations: 284.8 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1396, allocations: 54.67 kB / 485.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1397, allocations: 16.86 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1397, allocations: 12 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.1399, allocations: 67.31 kB / 485.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1399, allocations: 0 / 485.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005442/0.1404, allocations: 173.3 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1405, allocations: 59.3 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1407, allocations: 184.8 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1407, allocations: 25.7 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1408, allocations: 112 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1408, allocations: 19.72 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1409, allocations: 3.938 kB / 486.3 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.141, allocations: 330.8 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.1411, allocations: 16 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.1412, allocations: 33.7 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.526e-05/0.1412, allocations: 32.06 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1412, allocations: 3.938 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1414, allocations: 97.52 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1414, allocations: 10.5 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1415, allocations: 0 / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1415, allocations: 0 / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.1416, allocations: 15.98 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1416, allocations: 7.953 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1416, allocations: 4 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1416, allocations: 8.031 kB / 486.9 MB, free: 15.74 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.0001047/0.1418, allocations: 125.8 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1418, allocations: 7.906 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.1418, allocations: 21.39 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1418, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1418, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1419, allocations: 3.953 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1423, allocations: 403.6 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1423, allocations: 0 / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1424, allocations: 12 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1424, allocations: 0 / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1424, allocations: 4 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1424, allocations: 7.953 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1424, allocations: 0 / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.1426, allocations: 204.2 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1427, allocations: 96.91 kB / 487.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1427, allocations: 0 / 487.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.1428, allocations: 4 kB / 487.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1429, allocations: 11.94 kB / 487.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1429, allocations: 4 kB / 487.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.143, allocations: 144.9 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.143, allocations: 0 / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1433, allocations: 24 kB / 487.9 MB, free: 14.59 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.001383/0.1447, allocations: 1.085 MB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1448, allocations: 55.97 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1449, allocations: 0 / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.1449, allocations: 35.91 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1453, allocations: 31.88 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1464, allocations: 0.7036 MB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1467, allocations: 0.7043 MB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.1468, allocations: 12.89 kB / 490.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.1469, allocations: 35.42 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1469, allocations: 0 / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.1602, allocations: 2.952 MB / 493.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1604, allocations: 223.9 kB / 493.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.005, allocations: 0 / 493.7 MB, free: 8.91 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat