Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001789/0.001789, allocations: 182.8 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.789/1.789, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009627/0.000963, allocations: 91.72 kB / 267.1 MB, free: 9.289 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.4459/0.4459, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.249e-05, allocations: 8 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.6239, allocations: 87.6 MB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.6242, allocations: 80.06 kB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.6389, allocations: 5.577 MB / 0.564 GB, free: 13.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6389, allocations: 0 / 0.564 GB, free: 13.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.639, allocations: 7.281 kB / 0.564 GB, free: 13.19 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.0004175/0.6394, allocations: 411.5 kB / 0.5644 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.6394, allocations: 12.03 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.6395, allocations: 34.5 kB / 0.5644 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.6395, allocations: 19.23 kB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.6398, allocations: 213 kB / 0.5646 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6398, allocations: 4 kB / 0.5647 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.6399, allocations: 3.984 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.64, allocations: 53.56 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.64, allocations: 0 / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.64, allocations: 5.375 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.64, allocations: 0 / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.6401, allocations: 26.61 kB / 0.5647 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.6404, allocations: 299.4 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.6406, allocations: 56.75 kB / 0.5651 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.6406, allocations: 19.98 kB / 0.5651 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.6406, allocations: 8 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.6408, allocations: 70.81 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.6408, allocations: 0 / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004237/0.6412, allocations: 155.7 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.6412, allocations: 55.41 kB / 0.5654 GB, free: 11.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.6414, allocations: 197.9 kB / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.6415, allocations: 33.14 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.6415, allocations: 106 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.6415, allocations: 27.2 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.6415, allocations: 3.375 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.6416, allocations: 325.6 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.6416, allocations: 18.62 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.6417, allocations: 39.17 kB / 0.5661 GB, free: 10.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.6417, allocations: 17.38 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.6417, allocations: 4 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001278/0.6419, allocations: 103.3 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.6419, allocations: 8 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6419, allocations: 4 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6419, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.642, allocations: 19.17 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.642, allocations: 11.94 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.6421, allocations: 0 / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.6421, allocations: 4 kB / 0.5663 GB, free: 10.84 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 5.37e-05/0.6422, allocations: 118.8 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.6422, allocations: 11.81 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.6424, allocations: 120.8 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6424, allocations: 1.312 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6424, allocations: 0 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6424, allocations: 3.953 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6428, allocations: 419.4 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6428, allocations: 4.031 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.6429, allocations: 8 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6429, allocations: 0 / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6429, allocations: 15.38 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6429, allocations: 3.938 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6429, allocations: 0 / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.6431, allocations: 222 kB / 0.5671 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.6431, allocations: 96.11 kB / 0.5672 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.6431, allocations: 11.94 kB / 0.5672 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.6432, allocations: 0 / 0.5672 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.6433, allocations: 7.188 kB / 0.5672 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.6433, allocations: 7.984 kB / 0.5673 GB, free: 9.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.6434, allocations: 168.4 kB / 0.5674 GB, free: 9.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6434, allocations: 0 / 0.5674 GB, free: 9.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.6437, allocations: 35.5 kB / 0.5675 GB, free: 9.637 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.001097/0.6448, allocations: 1.147 MB / 0.5686 GB, free: 8.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.6449, allocations: 54.62 kB / 0.5686 GB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6449, allocations: 0 / 0.5686 GB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.645, allocations: 31.42 kB / 0.5687 GB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.6452, allocations: 24 kB / 0.5687 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.6457, allocations: 266.8 kB / 0.5689 GB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.6459, allocations: 0.7159 MB / 0.5696 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.646, allocations: 12.86 kB / 0.5696 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.646, allocations: 41.42 kB / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6461, allocations: 0 / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.6596, allocations: 3.223 MB / 0.5728 GB, free: 4.238 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.6598, allocations: 183.6 kB / 0.573 GB, free: 4.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.409, allocations: 3.938 kB / 0.573 GB, free: 4.012 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat