Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 179.8 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.4 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 91.69 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.874e-05/4.881e-05, allocations: 8.203 kB / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.636, allocations: 89.18 MB / 0.5889 GB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.6363, allocations: 71.95 kB / 0.589 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.6516, allocations: 5.44 MB / 0.5943 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6517, allocations: 0 / 0.5943 GB, free: 10.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.6517, allocations: 4 kB / 0.5943 GB, free: 10.62 MB / 410.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.0004973/0.6522, allocations: 386.2 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6523, allocations: 15.97 kB / 0.5947 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.6523, allocations: 34.5 kB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.6524, allocations: 7.906 kB / 0.5947 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.6527, allocations: 214.1 kB / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6527, allocations: 7.953 kB / 0.5949 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6528, allocations: 7.906 kB / 0.5949 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.6529, allocations: 53.67 kB / 0.595 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6529, allocations: 3.938 kB / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.6529, allocations: 0 / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6529, allocations: 0 / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.896e-05/0.653, allocations: 27.92 kB / 0.595 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.6535, allocations: 288.9 kB / 0.5953 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6536, allocations: 54.69 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.6537, allocations: 16.98 kB / 0.5953 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6537, allocations: 4 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.6539, allocations: 67.33 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.6539, allocations: 0 / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004972/0.6544, allocations: 165.2 kB / 0.5956 GB, free: 9.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.6544, allocations: 51.41 kB / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.6546, allocations: 157.4 kB / 0.5958 GB, free: 8.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.6546, allocations: 25.7 kB / 0.5958 GB, free: 8.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.6547, allocations: 104.1 kB / 0.5959 GB, free: 8.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.6548, allocations: 27.64 kB / 0.5959 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.6548, allocations: 0 / 0.5959 GB, free: 8.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6549, allocations: 322.8 kB / 0.5962 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.655, allocations: 24 kB / 0.5963 GB, free: 8.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.655, allocations: 33.72 kB / 0.5963 GB, free: 8.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.6551, allocations: 23.98 kB / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6551, allocations: 0 / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.6553, allocations: 93.53 kB / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6553, allocations: 8.938 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6553, allocations: 0 / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6553, allocations: 3.984 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.6554, allocations: 16.03 kB / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.6555, allocations: 4 kB / 0.5964 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.6555, allocations: 3.938 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.6555, allocations: 8 kB / 0.5964 GB, free: 8.176 MB / 410.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 8.994e-05/0.6556, allocations: 113.1 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.6557, allocations: 7.906 kB / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.6559, allocations: 126.1 kB / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6559, allocations: 0 / 0.5967 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.6559, allocations: 4 kB / 0.5967 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6559, allocations: 0 / 0.5967 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.6564, allocations: 411.4 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6564, allocations: 0 / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.6565, allocations: 8 kB / 0.5971 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6565, allocations: 0 / 0.5971 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6565, allocations: 4 kB / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6565, allocations: 0 / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6565, allocations: 80 / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.6568, allocations: 229.9 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.6569, allocations: 96.91 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.6569, allocations: 4 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.657, allocations: 0 / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.657, allocations: 11.94 kB / 0.5974 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6571, allocations: 12 kB / 0.5974 GB, free: 7.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.6572, allocations: 134.3 kB / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.6572, allocations: 0 / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.6575, allocations: 39.88 kB / 0.5976 GB, free: 6.891 MB / 410.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.001526/0.659, allocations: 1.129 MB / 0.5987 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.6592, allocations: 63.86 kB / 0.5988 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6592, allocations: 64 / 0.5988 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.6593, allocations: 35.98 kB / 0.5988 GB, free: 5.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.6596, allocations: 27.92 kB / 0.5988 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006023/0.6602, allocations: 209.5 kB / 0.599 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.6606, allocations: 0.7043 MB / 0.5997 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.6607, allocations: 24.78 kB / 0.5997 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.6608, allocations: 35.42 kB / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of SimCode: time 4e-07/0.6608, allocations: 0 / 0.5998 GB, free: 4.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.6757, allocations: 2.917 MB / 0.6026 GB, free: 1.859 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.6759, allocations: 192.1 kB / 0.6028 GB, free: 1.629 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.501, allocations: 0 / 0.6028 GB, free: 1.629 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat