Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.001035/0.001035, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.0008378, allocations: 82.22 kB / 261.7 MB, free: 1.684 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.1925/0.1925, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.904e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 58.85 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.4912, allocations: 86.96 MB / 0.551 GB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4915, allocations: 76.66 kB / 0.551 GB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.5042, allocations: 5.322 MB / 0.5562 GB, free: 3.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5042, allocations: 0 / 0.5562 GB, free: 3.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5042, allocations: 7.938 kB / 0.5562 GB, free: 3.406 MB / 362.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.0004444/0.5047, allocations: 397.5 kB / 0.5566 GB, free: 2.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.5047, allocations: 8.031 kB / 0.5566 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.5048, allocations: 7.906 kB / 0.5566 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.5051, allocations: 217.5 kB / 0.5568 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.5051, allocations: 0 / 0.5568 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.5051, allocations: 4 kB / 0.5568 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.736e-05/0.5052, allocations: 19.48 kB / 0.5569 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.155e-05/0.5053, allocations: 44.5 kB / 0.5569 GB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5054, allocations: 4 kB / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5054, allocations: 3.984 kB / 0.5569 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5054, allocations: 4 kB / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.5058, allocations: 268.7 kB / 0.5572 GB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5059, allocations: 49.75 kB / 0.5572 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.5059, allocations: 16.67 kB / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.5059, allocations: 3.438 kB / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.5061, allocations: 66.89 kB / 0.5573 GB, free: 2.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.5061, allocations: 4 kB / 0.5573 GB, free: 2.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004395/0.5065, allocations: 145.5 kB / 0.5574 GB, free: 2.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.5066, allocations: 55.34 kB / 0.5575 GB, free: 2.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.5068, allocations: 175.2 kB / 0.5577 GB, free: 1.887 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5068, allocations: 29.64 kB / 0.5577 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.5068, allocations: 98.75 kB / 0.5578 GB, free: 1.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.5069, allocations: 27.2 kB / 0.5578 GB, free: 1.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.5069, allocations: 0 / 0.5578 GB, free: 1.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.507, allocations: 325.5 kB / 0.5581 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.507, allocations: 17.12 kB / 0.5581 GB, free: 1.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.507, allocations: 36.34 kB / 0.5582 GB, free: 1.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.5071, allocations: 22.55 kB / 0.5582 GB, free: 1.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5071, allocations: 0 / 0.5582 GB, free: 1.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001206/0.5072, allocations: 98.23 kB / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5073, allocations: 4 kB / 0.5583 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5073, allocations: 7.984 kB / 0.5583 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5073, allocations: 0 / 0.5583 GB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.5074, allocations: 19.92 kB / 0.5583 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5074, allocations: 0 / 0.5583 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.5074, allocations: 4.188 kB / 0.5583 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5075, allocations: 7.953 kB / 0.5583 GB, free: 1.23 MB / 362.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 6.274e-05/0.5075, allocations: 104.4 kB / 0.5584 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001206/0.5077, allocations: 99.17 kB / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.5077, allocations: 15.81 kB / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.5079, allocations: 111 kB / 0.5586 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5079, allocations: 0 / 0.5586 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5079, allocations: 3.953 kB / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5079, allocations: 0 / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.5082, allocations: 378.4 kB / 0.559 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5082, allocations: 4.031 kB / 0.559 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.5083, allocations: 8 kB / 0.559 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.5083, allocations: 4 kB / 0.559 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5083, allocations: 3.938 kB / 0.559 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5083, allocations: 7.938 kB / 0.559 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5083, allocations: 0 / 0.559 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5085, allocations: 214.9 kB / 0.5592 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.5085, allocations: 96.48 kB / 0.5593 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.5086, allocations: 3.953 kB / 0.5593 GB, free: 188 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.5086, allocations: 11.92 kB / 0.5594 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.5087, allocations: 4 kB / 0.5594 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5087, allocations: 4 kB / 0.5594 GB, free: 168 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.5088, allocations: 135.8 kB / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5088, allocations: 0 / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.509, allocations: 24 kB / 0.5595 GB, free: 28 kB / 362.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.001595/0.5106, allocations: 1.107 MB / 0.5606 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.5108, allocations: 53.19 kB / 0.5606 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5108, allocations: 0 / 0.5606 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.5109, allocations: 30.23 kB / 0.5607 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.5111, allocations: 23.86 kB / 0.5607 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.5117, allocations: 222 kB / 0.5609 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.5121, allocations: 0.7112 MB / 0.5616 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.5121, allocations: 16.55 kB / 0.5616 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.5122, allocations: 38.17 kB / 0.5617 GB, free: 13.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5122, allocations: 0 / 0.5617 GB, free: 13.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.535, allocations: 2.648 MB / 0.5642 GB, free: 11.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.5352, allocations: 162.5 kB / 0.5644 GB, free: 11.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.034, allocations: 0 / 0.5644 GB, free: 11.04 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat