Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",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.002289/0.002293, allocations: 185 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001101/0.0011, allocations: 92.38 kB / 270.9 MB, free: 8.391 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.6446/0.6446, allocations: 43.56 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004792, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4844/0.6281, allocations: 87.54 MB / 0.5643 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6285, allocations: 75.95 kB / 0.5644 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03251/0.661, allocations: 5.245 MB / 0.5695 GB, free: 9.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.748e-06/0.6611, allocations: 0 / 0.5695 GB, free: 9.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.6611, allocations: 4 kB / 0.5695 GB, free: 9.766 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009592/0.6621, allocations: 415.2 kB / 0.5699 GB, free: 9.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.6622, allocations: 12.02 kB / 0.5699 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.6623, allocations: 34.56 kB / 0.57 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.6624, allocations: 11.34 kB / 0.57 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.663, allocations: 217.8 kB / 0.5702 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6631, allocations: 0 / 0.5702 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.6631, allocations: 4 kB / 0.5702 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.6634, allocations: 45.67 kB / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6634, allocations: 0 / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.6634, allocations: 0 / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.6635, allocations: 0 / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.6636, allocations: 24.95 kB / 0.5702 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.6641, allocations: 181.6 kB / 0.5704 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.6645, allocations: 58.61 kB / 0.5705 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.6645, allocations: 4 kB / 0.5705 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.6648, allocations: 63.48 kB / 0.5705 GB, free: 8.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 5.411e-06/0.6648, allocations: 0 / 0.5705 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005939/0.6655, allocations: 101.7 kB / 0.5706 GB, free: 8.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.6655, allocations: 55.41 kB / 0.5707 GB, free: 8.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.6659, allocations: 169.3 kB / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.666, allocations: 25.7 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.6661, allocations: 162.6 kB / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.6662, allocations: 15.8 kB / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.6662, allocations: 0 / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.6664, allocations: 314.8 kB / 0.5713 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.6666, allocations: 12 kB / 0.5714 GB, free: 7.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.6668, allocations: 37.69 kB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.667, allocations: 31.94 kB / 0.5714 GB, free: 7.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.667, allocations: 0 / 0.5714 GB, free: 7.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003644/0.6674, allocations: 69.69 kB / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.6674, allocations: 4 kB / 0.5715 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6674, allocations: 0 / 0.5715 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.6675, allocations: 7.938 kB / 0.5715 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.6677, allocations: 15.95 kB / 0.5715 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6677, allocations: 4 kB / 0.5715 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.6679, allocations: 8 kB / 0.5715 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6679, allocations: 0 / 0.5715 GB, free: 7.488 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0002145/0.6681, allocations: 137.7 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.6682, allocations: 11.81 kB / 0.5717 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.6687, allocations: 85.98 kB / 0.5718 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6687, allocations: 4 kB / 0.5718 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.6688, allocations: 7.984 kB / 0.5718 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.6688, allocations: 7.922 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.6692, allocations: 189.6 kB / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6692, allocations: 3.953 kB / 0.572 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.6693, allocations: 4 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6693, allocations: 0 / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.6693, allocations: 4 kB / 0.572 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6693, allocations: 0 / 0.572 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6693, allocations: 0 / 0.572 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.6698, allocations: 113 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.6699, allocations: 92.95 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.67, allocations: 8.188 kB / 0.5722 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.6701, allocations: 4 kB / 0.5722 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.6702, allocations: 7.984 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.6703, allocations: 3.938 kB / 0.5722 GB, free: 6.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.6706, allocations: 144.8 kB / 0.5723 GB, free: 6.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6706, allocations: 3.938 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.6711, allocations: 20 kB / 0.5723 GB, free: 6.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002685/0.6739, allocations: 0.9628 MB / 0.5733 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.6743, allocations: 51.91 kB / 0.5733 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6743, allocations: 0 / 0.5733 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.6745, allocations: 28.05 kB / 0.5734 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.6751, allocations: 27.91 kB / 0.5734 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.6776, allocations: 0.8219 MB / 0.5742 GB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.6781, allocations: 0.7043 MB / 0.5749 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.6783, allocations: 31.42 kB / 0.5749 GB, free: 3.922 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6783, allocations: 7.938 kB / 0.5749 GB, free: 3.914 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.399, allocations: 2.204 MB / 0.5771 GB, free: 1.715 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat