Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001047/0.001047, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 174.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4038/0.4038, allocations: 43.55 MB / 314.5 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005445, allocations: 22.97 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 58.84 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002228/0.1489, allocations: 1.388 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1503, allocations: 0.7382 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1504, allocations: 4 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1508, allocations: 19.91 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.151, allocations: 47.81 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1513, allocations: 79.77 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1515, allocations: 59.86 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1517, allocations: 16.19 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1518, allocations: 39.84 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.1519, allocations: 27.86 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1519, allocations: 4 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.152, allocations: 23.98 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1521, allocations: 23.91 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.1522, allocations: 37.64 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1524, allocations: 84.05 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1524, allocations: 4 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1524, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1524, allocations: 0 / 445.4 MB, free: 10.37 MB / 382.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.0005995/0.153, allocations: 406.8 kB / 445.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1531, allocations: 11.97 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1531, allocations: 34.56 kB / 445.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1531, allocations: 15.91 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1534, allocations: 203.5 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1534, allocations: 11.94 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1534, allocations: 0 / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1536, allocations: 53.67 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1537, allocations: 4 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1537, allocations: 7.953 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1537, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.1538, allocations: 19.92 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1542, allocations: 281 kB / 446.5 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1544, allocations: 58.67 kB / 446.5 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1544, allocations: 4 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.1547, allocations: 71.41 kB / 446.6 MB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1547, allocations: 3.938 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005646/0.1553, allocations: 177.1 kB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1553, allocations: 55.41 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1555, allocations: 195.3 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1556, allocations: 25.7 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.1556, allocations: 104.1 kB / 447.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1557, allocations: 23.66 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.1557, allocations: 4 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1558, allocations: 322.8 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.1559, allocations: 23.98 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.335e-05/0.156, allocations: 33.7 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.156, allocations: 20 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.156, allocations: 4 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001801/0.1562, allocations: 109.4 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1563, allocations: 4 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1563, allocations: 160 / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1563, allocations: 0 / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1564, allocations: 20 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1564, allocations: 7.922 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.1565, allocations: 7.984 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1565, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.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.0001114/0.1566, allocations: 133.9 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1566, allocations: 15.84 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1567, allocations: 17.41 kB / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1567, allocations: 0 / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1567, allocations: 192 / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1567, allocations: 0 / 447.9 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1572, allocations: 403.5 kB / 448.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1572, allocations: 8.016 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.1572, allocations: 15.98 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1572, allocations: 0 / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1572, allocations: 4 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1573, allocations: 0 / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1573, allocations: 0 / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1575, allocations: 221.9 kB / 448.5 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.1576, allocations: 92.91 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1576, allocations: 7.938 kB / 448.6 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.1577, allocations: 4 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.1578, allocations: 7.984 kB / 448.6 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1578, allocations: 4 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1579, allocations: 152.9 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1579, allocations: 0 / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1582, allocations: 24 kB / 448.8 MB, free: 6.66 MB / 382.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.001535/0.1597, allocations: 1.174 MB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.1599, allocations: 55.92 kB / 450 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1599, allocations: 0 / 450 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.16, allocations: 27.98 kB / 450.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1603, allocations: 24.28 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1617, allocations: 0.8898 MB / 451 MB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.162, allocations: 0.7082 MB / 451.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.162, allocations: 16.88 kB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.1621, allocations: 35.42 kB / 451.7 MB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1621, allocations: 4 kB / 451.7 MB, free: 3.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.1758, allocations: 2.962 MB / 454.7 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.176, allocations: 216.5 kB / 454.9 MB, free: 460 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.884, allocations: 0 / 454.9 MB, free: 460 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat