Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 218.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009196/0.0009198, allocations: 89.31 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.503/0.503, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.727e-05/4.747e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6463, allocations: 87.58 MB / 0.5584 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.6465, allocations: 76.17 kB / 0.5585 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01474/0.6613, allocations: 5.257 MB / 0.5636 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6614, allocations: 4 kB / 0.5636 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.6614, allocations: 0 / 0.5636 GB, free: 13.36 MB / 394.7 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.000574/0.662, allocations: 404.5 kB / 0.564 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.662, allocations: 8.031 kB / 0.564 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.6621, allocations: 37.88 kB / 0.5641 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.6621, allocations: 11.34 kB / 0.5641 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.6625, allocations: 218.7 kB / 0.5643 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6625, allocations: 0.875 kB / 0.5643 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.6626, allocations: 5.734 kB / 0.5643 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.6627, allocations: 58.64 kB / 0.5644 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6627, allocations: 0 / 0.5644 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6628, allocations: 5.062 kB / 0.5644 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6628, allocations: 0 / 0.5644 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.222e-05/0.6628, allocations: 18.12 kB / 0.5644 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.6633, allocations: 294.2 kB / 0.5647 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.6635, allocations: 60.09 kB / 0.5647 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.6635, allocations: 19.55 kB / 0.5647 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.6636, allocations: 0 / 0.5647 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.6637, allocations: 65.69 kB / 0.5648 GB, free: 12.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.6637, allocations: 3.828 kB / 0.5648 GB, free: 12.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004896/0.6642, allocations: 160.8 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6643, allocations: 60.05 kB / 0.565 GB, free: 11.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.6645, allocations: 173 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.6645, allocations: 25.7 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.6645, allocations: 102.6 kB / 0.5653 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.6646, allocations: 21.11 kB / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.6646, allocations: 0 / 0.5653 GB, free: 11.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.6647, allocations: 326.5 kB / 0.5656 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.6647, allocations: 19.38 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.6648, allocations: 33.39 kB / 0.5657 GB, free: 11.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.6648, allocations: 30.8 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.6648, allocations: 0 / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001421/0.665, allocations: 100.7 kB / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.665, allocations: 4 kB / 0.5658 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.665, allocations: 0 / 0.5658 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.665, allocations: 0 / 0.5658 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.79e-05/0.6651, allocations: 23.92 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6652, allocations: 3.953 kB / 0.5658 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.6652, allocations: 8.031 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.6652, allocations: 3.812 kB / 0.5659 GB, free: 11.19 MB / 394.7 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 () * 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 6.395e-05/0.6653, allocations: 106.4 kB / 0.566 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.6653, allocations: 7.906 kB / 0.566 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.6656, allocations: 126.8 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6656, allocations: 4 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.6656, allocations: 0 / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.6656, allocations: 3.953 kB / 0.5661 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.666, allocations: 412.5 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.666, allocations: 3.984 kB / 0.5665 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.6661, allocations: 11.98 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6661, allocations: 0 / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6661, allocations: 7.953 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6661, allocations: 0 / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6661, allocations: 3.938 kB / 0.5665 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.6663, allocations: 214.9 kB / 0.5667 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.6664, allocations: 97 kB / 0.5668 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6664, allocations: 15.89 kB / 0.5668 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.6665, allocations: 4 kB / 0.5668 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6666, allocations: 7.797 kB / 0.5668 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.6666, allocations: 4 kB / 0.5668 GB, free: 10.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.6667, allocations: 143.3 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6667, allocations: 4 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.667, allocations: 31.94 kB / 0.567 GB, free: 10.01 MB / 394.7 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) * 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.001304/0.6683, allocations: 1.134 MB / 0.5681 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.6685, allocations: 62.66 kB / 0.5682 GB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.6685, allocations: 0 / 0.5682 GB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/0.6685, allocations: 31.69 kB / 0.5682 GB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6688, allocations: 28.92 kB / 0.5682 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.6694, allocations: 221.4 kB / 0.5684 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.6696, allocations: 0.7118 MB / 0.5691 GB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.6697, allocations: 16.86 kB / 0.5692 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.6697, allocations: 34.67 kB / 0.5692 GB, free: 7.84 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6697, allocations: 4 kB / 0.5692 GB, free: 7.836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.6849, allocations: 2.998 MB / 0.5721 GB, free: 4.871 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.6852, allocations: 191.6 kB / 0.5723 GB, free: 4.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.355, allocations: 0 / 0.5723 GB, free: 4.641 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat