Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007625, allocations: 98.77 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008316/0.0008316, allocations: 178.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 11.98 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002156/0.1405, allocations: 1.398 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1425, allocations: 1.378 MB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.1427, allocations: 4 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.143, allocations: 35.83 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1432, allocations: 43.83 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1435, allocations: 91.59 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1437, allocations: 95.67 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.1438, allocations: 8.234 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.1438, allocations: 39.78 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.144, allocations: 43.83 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.144, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1442, allocations: 55.97 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.1442, allocations: 11.92 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1443, allocations: 37.64 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1445, allocations: 100.1 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1445, allocations: 7.875 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1445, allocations: 0 / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1445, allocations: 0 / 475 MB, free: 10.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000542/0.145, allocations: 395 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1451, allocations: 8.031 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1451, allocations: 38.56 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1452, allocations: 7.906 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1454, allocations: 203.4 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1454, allocations: 3.984 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1455, allocations: 7.953 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1457, allocations: 79.38 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1457, allocations: 0 / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1457, allocations: 0 / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1457, allocations: 7.938 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1458, allocations: 27.97 kB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1462, allocations: 296.7 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1464, allocations: 70.69 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.1465, allocations: 28.84 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1465, allocations: 0 / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.1467, allocations: 75.31 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1467, allocations: 0 / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005869/0.1473, allocations: 201.3 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1474, allocations: 81.11 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1475, allocations: 156.5 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1476, allocations: 25.7 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1476, allocations: 96.12 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1477, allocations: 31.56 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.1477, allocations: 4 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1478, allocations: 322.8 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.1479, allocations: 31.98 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.148, allocations: 42.56 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.148, allocations: 31.92 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.148, allocations: 4.094 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.1482, allocations: 117.5 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1483, allocations: 4 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1483, allocations: 0 / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1483, allocations: 4.062 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.1484, allocations: 19.98 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1484, allocations: 0 / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.1485, allocations: 4 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1485, allocations: 4 kB / 477.4 MB, free: 7.629 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001154/0.1486, allocations: 134.2 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.1486, allocations: 7.906 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.1487, allocations: 17.12 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1487, allocations: 11.97 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1487, allocations: 0 / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1487, allocations: 0 / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.1492, allocations: 415.2 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1492, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.1493, allocations: 12 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1493, allocations: 4 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1493, allocations: 3.984 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1493, allocations: 4.031 kB / 478 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1493, allocations: 4 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1495, allocations: 212.1 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1496, allocations: 93 kB / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1496, allocations: 0 / 478.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1497, allocations: 4 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1498, allocations: 15.98 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1498, allocations: 4 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.969e-05/0.1499, allocations: 122.2 kB / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1499, allocations: 0 / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1502, allocations: 31.98 kB / 478.4 MB, free: 6.449 MB / 350.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 (9): * Single equations (assignments): 7 * 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.001588/0.1518, allocations: 1.159 MB / 479.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.152, allocations: 67.91 kB / 479.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.152, allocations: 0 / 479.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.1521, allocations: 31.98 kB / 479.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1524, allocations: 31.97 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1536, allocations: 0.6742 MB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1539, allocations: 0.7004 MB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.154, allocations: 28.92 kB / 481.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.154, allocations: 35.36 kB / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.154, allocations: 0 / 481.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.17, allocations: 3.223 MB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.1704, allocations: 217.5 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.1, allocations: 0 / 484.6 MB, free: 0.5 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat