Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008529/0.0008529, allocations: 93.94 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.0008507/0.0008507, allocations: 195 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.405/1.405, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003339, allocations: 15.92 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 63.47 MB / 481.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002287/0.1393, allocations: 1.431 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1408, allocations: 0.944 MB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.1409, allocations: 0 / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1412, allocations: 43.83 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1415, allocations: 75.75 kB / 484.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1418, allocations: 87.83 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.142, allocations: 91.69 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1421, allocations: 8 kB / 484.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.1422, allocations: 43.77 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.1423, allocations: 31.8 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1423, allocations: 8 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1424, allocations: 35.98 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1425, allocations: 15.91 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.1425, allocations: 45.64 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1427, allocations: 80.11 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1427, allocations: 7.922 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1427, allocations: 0 / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1427, allocations: 0 / 484.6 MB, free: 2.258 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.0006061/0.1433, allocations: 394.9 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1434, allocations: 16.03 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1434, allocations: 34.56 kB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.1435, allocations: 11.91 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1437, allocations: 207.5 kB / 485.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1437, allocations: 4 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1438, allocations: 7.938 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1439, allocations: 53.66 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1439, allocations: 0 / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1439, allocations: 4 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.144, allocations: 7.984 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.1441, allocations: 16 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.1445, allocations: 296.7 kB / 485.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1446, allocations: 58.62 kB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1447, allocations: 20.84 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1447, allocations: 4 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1449, allocations: 63.39 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.067e-06/0.1449, allocations: 0 / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005423/0.1455, allocations: 189.1 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1455, allocations: 59.36 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1457, allocations: 190.9 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1458, allocations: 25.7 kB / 486.2 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.1458, allocations: 108.1 kB / 486.3 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1459, allocations: 19.72 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1459, allocations: 4 kB / 486.3 MB, free: 292 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.146, allocations: 322.8 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.146, allocations: 23.92 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.1461, allocations: 37.7 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.1462, allocations: 24 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1462, allocations: 0 / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1464, allocations: 101.4 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1464, allocations: 4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1464, allocations: 4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1464, allocations: 0 / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.1465, allocations: 19.98 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1465, allocations: 3.953 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.1466, allocations: 4 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1466, allocations: 4.031 kB / 486.9 MB, free: 15.73 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.0001118/0.1467, allocations: 133.8 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1467, allocations: 7.906 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.1468, allocations: 17.41 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1468, allocations: 0 / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1468, allocations: 0 / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1469, allocations: 8.266 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1473, allocations: 399.3 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1473, allocations: 4 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1474, allocations: 11.94 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1474, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1474, allocations: 4.188 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1474, allocations: 4.188 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1474, allocations: 7.922 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1476, allocations: 208.3 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1477, allocations: 88.92 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1477, allocations: 4 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.1478, allocations: 11.92 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1479, allocations: 11.89 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1479, allocations: 4 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.148, allocations: 152.7 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.148, allocations: 0 / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1483, allocations: 23.98 kB / 488 MB, free: 14.54 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.001433/0.1498, allocations: 1.071 MB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1499, allocations: 63.89 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1499, allocations: 0 / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.15, allocations: 35.92 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1504, allocations: 27.92 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1517, allocations: 0.735 MB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.152, allocations: 0.7083 MB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1521, allocations: 17.17 kB / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.1521, allocations: 35.42 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1521, allocations: 0 / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1666, allocations: 3.004 MB / 493.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/0.1668, allocations: 219.9 kB / 493.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.055, allocations: 0 / 493.9 MB, free: 8.789 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat