Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001256/0.001256, allocations: 184 kB / 15.76 MB, free: 6.367 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.77/1.77, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0008901/0.0008901, allocations: 82.83 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003219, allocations: 11.98 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.4311, allocations: 88.7 MB / 0.5655 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4314, allocations: 75.72 kB / 0.5656 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.4426, allocations: 4.238 MB / 0.5697 GB, free: 7.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4426, allocations: 4 kB / 0.5697 GB, free: 7.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4426, allocations: 4 kB / 0.5697 GB, free: 7.426 MB / 378.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.0005753/0.4432, allocations: 483.4 kB / 0.5702 GB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.4433, allocations: 12.03 kB / 0.5702 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.4433, allocations: 34.38 kB / 0.5702 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.4434, allocations: 15.81 kB / 0.5702 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.4437, allocations: 229.6 kB / 0.5704 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4437, allocations: 7.188 kB / 0.5704 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4438, allocations: 8 kB / 0.5705 GB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.444, allocations: 105.9 kB / 0.5706 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.444, allocations: 7.938 kB / 0.5706 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.444, allocations: 7.734 kB / 0.5706 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.444, allocations: 0 / 0.5706 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.4442, allocations: 58.47 kB / 0.5706 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.4448, allocations: 0.5235 MB / 0.5711 GB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.4452, allocations: 88.97 kB / 0.5712 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.4452, allocations: 0 / 0.5712 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.4454, allocations: 94.02 kB / 0.5713 GB, free: 5.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.4454, allocations: 0 / 0.5713 GB, free: 5.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004111/0.4458, allocations: 145.9 kB / 0.5715 GB, free: 5.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.4459, allocations: 51.41 kB / 0.5715 GB, free: 5.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4461, allocations: 180 kB / 0.5717 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4461, allocations: 33.02 kB / 0.5717 GB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.4462, allocations: 117.8 kB / 0.5718 GB, free: 5.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.4462, allocations: 27.11 kB / 0.5718 GB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4462, allocations: 3.188 kB / 0.5718 GB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4463, allocations: 325.5 kB / 0.5722 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.4464, allocations: 30.48 kB / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4466, allocations: 75.17 kB / 0.5723 GB, free: 4.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.366e-05/0.4467, allocations: 34.17 kB / 0.5723 GB, free: 4.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4467, allocations: 0 / 0.5723 GB, free: 4.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.447, allocations: 149.8 kB / 0.5724 GB, free: 4.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.447, allocations: 11.44 kB / 0.5724 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.447, allocations: 0 / 0.5724 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.447, allocations: 3.953 kB / 0.5724 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4471, allocations: 27.92 kB / 0.5725 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4472, allocations: 4 kB / 0.5725 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.4472, allocations: 14.72 kB / 0.5725 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.4473, allocations: 7.984 kB / 0.5725 GB, free: 4.547 MB / 378.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 () * Number of clocked 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 0.0001002/0.4474, allocations: 133.6 kB / 0.5726 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.4474, allocations: 7.906 kB / 0.5726 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.4478, allocations: 134.4 kB / 0.5728 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4478, allocations: 7.953 kB / 0.5728 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4478, allocations: 0 / 0.5728 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4478, allocations: 7.984 kB / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.448, allocations: 216.7 kB / 0.573 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.448, allocations: 0 / 0.573 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.4481, allocations: 19.92 kB / 0.573 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4481, allocations: 4 kB / 0.573 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4482, allocations: 7.5 kB / 0.573 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4482, allocations: 0 / 0.573 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4482, allocations: 3.953 kB / 0.573 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.4486, allocations: 201.6 kB / 0.5732 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.4486, allocations: 89.03 kB / 0.5733 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4487, allocations: 4 kB / 0.5733 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.4487, allocations: 11.3 kB / 0.5733 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4488, allocations: 7.984 kB / 0.5733 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.4488, allocations: 12.02 kB / 0.5733 GB, free: 3.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4489, allocations: 141.7 kB / 0.5735 GB, free: 3.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4489, allocations: 0 / 0.5735 GB, free: 3.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.4492, allocations: 43.53 kB / 0.5735 GB, free: 3.535 MB / 378.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) * Number of clocked states: 0 () * 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.001522/0.4507, allocations: 1.038 MB / 0.5745 GB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.451, allocations: 96.95 kB / 0.5746 GB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.451, allocations: 0 / 0.5746 GB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4511, allocations: 44.61 kB / 0.5747 GB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4514, allocations: 34.59 kB / 0.5747 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4529, allocations: 1.458 MB / 0.5761 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.4532, allocations: 0.7239 MB / 0.5768 GB, free: 252 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.4533, allocations: 17.08 kB / 0.5768 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.4534, allocations: 41.98 kB / 0.5769 GB, free: 216 kB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4534, allocations: 0 / 0.5769 GB, free: 216 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.4674, allocations: 3.313 MB / 0.5801 GB, free: 12.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.4676, allocations: 209.8 kB / 0.5803 GB, free: 12.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.063, allocations: 0 / 0.5803 GB, free: 12.69 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat