Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.001352/0.001352, 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.715/1.715, 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.0009116/0.0009115, allocations: 85.03 kB / 267 MB, free: 9.277 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.4122/0.4122, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.2e-05/5.21e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.623, allocations: 88.61 MB / 0.5594 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.6233, allocations: 75.44 kB / 0.5595 GB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.6342, allocations: 4.239 MB / 0.5637 GB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6343, allocations: 0 / 0.5637 GB, free: 13.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.6343, allocations: 4 kB / 0.5637 GB, free: 13.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005273/0.6348, allocations: 457.3 kB / 0.5641 GB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6349, allocations: 16.03 kB / 0.5641 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.6349, allocations: 43.92 kB / 0.5642 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.635, allocations: 20.75 kB / 0.5642 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.6353, allocations: 218 kB / 0.5644 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.6353, allocations: 7.938 kB / 0.5644 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.6354, allocations: 4 kB / 0.5644 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.6355, allocations: 102.7 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6356, allocations: 0 / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.6356, allocations: 7.016 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6356, allocations: 4 kB / 0.5645 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.184e-05/0.6357, allocations: 37.05 kB / 0.5645 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.6363, allocations: 0.5181 MB / 0.565 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.6365, allocations: 81.52 kB / 0.5651 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.6366, allocations: 37.41 kB / 0.5652 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.6366, allocations: 4 kB / 0.5652 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.6368, allocations: 82.84 kB / 0.5652 GB, free: 11.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.6368, allocations: 0.6562 kB / 0.5652 GB, free: 11.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002373/0.637, allocations: 106.7 kB / 0.5653 GB, free: 11.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.6371, allocations: 55.84 kB / 0.5654 GB, free: 11.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.6372, allocations: 170.9 kB / 0.5656 GB, free: 11.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6373, allocations: 29.39 kB / 0.5656 GB, free: 11.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.6373, allocations: 112 kB / 0.5657 GB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.6374, allocations: 35.09 kB / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.6374, allocations: 4 kB / 0.5657 GB, free: 11.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.6374, allocations: 327.2 kB / 0.566 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.6375, allocations: 22.06 kB / 0.5661 GB, free: 10.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.6376, allocations: 60.86 kB / 0.5661 GB, free: 10.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.6376, allocations: 33.95 kB / 0.5662 GB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6376, allocations: 0 / 0.5662 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001744/0.6378, allocations: 123.5 kB / 0.5663 GB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6378, allocations: 5.719 kB / 0.5663 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6378, allocations: 9.359 kB / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6379, allocations: 0 / 0.5663 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.638, allocations: 30.83 kB / 0.5663 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.638, allocations: 0 / 0.5663 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.6381, allocations: 19.06 kB / 0.5663 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.6381, allocations: 4 kB / 0.5663 GB, free: 10.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.31e-05/0.6382, allocations: 108.7 kB / 0.5664 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.6382, allocations: 15.81 kB / 0.5665 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.6384, allocations: 120 kB / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6384, allocations: 7.953 kB / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6385, allocations: 0 / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.6385, allocations: 1.312 kB / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.6387, allocations: 220.9 kB / 0.5668 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6387, allocations: 4 kB / 0.5668 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.6388, allocations: 10.91 kB / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6388, allocations: 4 kB / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.6388, allocations: 0 / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6388, allocations: 1.5 kB / 0.5668 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6388, allocations: 4.234 kB / 0.5668 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.6391, allocations: 182.3 kB / 0.567 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.6391, allocations: 98.34 kB / 0.5671 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.6391, allocations: 5.562 kB / 0.5671 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.6392, allocations: 9.641 kB / 0.5671 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.6393, allocations: 14.8 kB / 0.5671 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.6393, allocations: 0 / 0.5671 GB, free: 9.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.6394, allocations: 147.5 kB / 0.5673 GB, free: 9.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6394, allocations: 0 / 0.5673 GB, free: 9.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.6396, allocations: 28.84 kB / 0.5673 GB, free: 9.668 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001173/0.6408, allocations: 0.9881 MB / 0.5682 GB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.641, allocations: 69.23 kB / 0.5683 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.641, allocations: 0 / 0.5683 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.6411, allocations: 36.56 kB / 0.5683 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6414, allocations: 41.73 kB / 0.5684 GB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.642, allocations: 255.1 kB / 0.5686 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6423, allocations: 0.7165 MB / 0.5693 GB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.6424, allocations: 21.2 kB / 0.5694 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6425, allocations: 41.86 kB / 0.5694 GB, free: 7.648 MB / 394.7 MB Notification: Performance of SimCode: time 2.124e-06/0.6425, allocations: 0 / 0.5694 GB, free: 7.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.6564, allocations: 3.291 MB / 0.5726 GB, free: 4.387 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.6566, allocations: 191.6 kB / 0.5728 GB, free: 4.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.371, allocations: 0 / 0.5728 GB, free: 4.156 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat