Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.001032/0.001031, allocations: 183.6 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.711/1.711, 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.0009402/0.0009403, allocations: 89.56 kB / 267.1 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.404/0.404, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.267e-05/5.269e-05, allocations: 8 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.6213, allocations: 87.61 MB / 0.5585 GB, free: 16.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.6217, allocations: 73.09 kB / 0.5585 GB, free: 16.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.6375, allocations: 5.809 MB / 0.5642 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6375, allocations: 0 / 0.5642 GB, free: 12.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.6376, allocations: 0 / 0.5642 GB, free: 12.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004552/0.638, allocations: 408 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6381, allocations: 12.02 kB / 0.5646 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.6381, allocations: 38 kB / 0.5647 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.6382, allocations: 15.25 kB / 0.5647 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.6385, allocations: 217.7 kB / 0.5649 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6385, allocations: 4 kB / 0.5649 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.6385, allocations: 11.25 kB / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6387, allocations: 66.59 kB / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6387, allocations: 0 / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.6387, allocations: 3.688 kB / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.6387, allocations: 0 / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.6388, allocations: 49.03 kB / 0.565 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.6392, allocations: 321.4 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.6394, allocations: 88.47 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.6394, allocations: 32.34 kB / 0.5654 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.6395, allocations: 3.984 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.6396, allocations: 82.25 kB / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.6396, allocations: 0 / 0.5655 GB, free: 11.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005028/0.6401, allocations: 207.6 kB / 0.5657 GB, free: 11.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.6402, allocations: 55.41 kB / 0.5658 GB, free: 11.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.6403, allocations: 180.1 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.6404, allocations: 25.7 kB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.6404, allocations: 102.9 kB / 0.5661 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.6404, allocations: 35.05 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.6405, allocations: 3.562 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.6405, allocations: 326.5 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.6406, allocations: 26.88 kB / 0.5664 GB, free: 10.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.6407, allocations: 56.27 kB / 0.5665 GB, free: 10.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.6407, allocations: 32.77 kB / 0.5665 GB, free: 10.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6407, allocations: 4 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001634/0.6409, allocations: 127.1 kB / 0.5666 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6409, allocations: 8 kB / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6409, allocations: 0 / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6409, allocations: 0 / 0.5666 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.6411, allocations: 16 kB / 0.5667 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6411, allocations: 15.97 kB / 0.5667 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.6411, allocations: 3.688 kB / 0.5667 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.6411, allocations: 4 kB / 0.5667 GB, free: 10.47 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 (12): * Single equations (assignments): 12 * 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.14e-05/0.6412, allocations: 114.6 kB / 0.5668 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.6412, allocations: 7.906 kB / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.6415, allocations: 163.9 kB / 0.567 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6415, allocations: 4 kB / 0.567 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6415, allocations: 5.219 kB / 0.567 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6415, allocations: 3.953 kB / 0.567 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.6419, allocations: 463.5 kB / 0.5674 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.642, allocations: 4 kB / 0.5674 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.642, allocations: 19.38 kB / 0.5674 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.642, allocations: 0 / 0.5674 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.6421, allocations: 15.92 kB / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6421, allocations: 0 / 0.5674 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6421, allocations: 4 kB / 0.5674 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.6423, allocations: 250.8 kB / 0.5677 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.6424, allocations: 89.02 kB / 0.5678 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.6424, allocations: 11.38 kB / 0.5678 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.6425, allocations: 4 kB / 0.5678 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.6425, allocations: 15.73 kB / 0.5678 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.6426, allocations: 8 kB / 0.5678 GB, free: 9.336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.6427, allocations: 154 kB / 0.568 GB, free: 9.207 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6427, allocations: 0 / 0.568 GB, free: 9.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.6429, allocations: 35.31 kB / 0.568 GB, free: 9.176 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 (13): * Single equations (assignments): 11 * 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.001339/0.6443, allocations: 1.179 MB / 0.5691 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.6445, allocations: 88.73 kB / 0.5692 GB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6445, allocations: 4.062 kB / 0.5692 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.6446, allocations: 38.25 kB / 0.5693 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.6449, allocations: 34.86 kB / 0.5693 GB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.6454, allocations: 252 kB / 0.5695 GB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.6456, allocations: 0.7156 MB / 0.5702 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.6456, allocations: 24.83 kB / 0.5703 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.6457, allocations: 36.48 kB / 0.5703 GB, free: 6.926 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6457, allocations: 0 / 0.5703 GB, free: 6.926 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.6604, allocations: 3.358 MB / 0.5736 GB, free: 3.598 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.6606, allocations: 187.6 kB / 0.5738 GB, free: 3.371 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.288, allocations: 3.938 kB / 0.5738 GB, free: 3.367 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat