Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001644/0.001644, allocations: 186 kB / 15.76 MB, free: 6.344 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.819/1.819, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.001104/0.001105, allocations: 90.84 kB / 270.2 MB, free: 13.34 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.2164/0.2164, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003482, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1159, allocations: 58.86 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4828, allocations: 87.68 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.483, allocations: 72.47 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.4972, allocations: 5.285 MB / 0.5697 GB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4972, allocations: 3.938 kB / 0.5697 GB, free: 7.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4973, allocations: 0 / 0.5697 GB, free: 7.461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004536/0.4977, allocations: 426 kB / 0.5701 GB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4978, allocations: 12.03 kB / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.4978, allocations: 37.98 kB / 0.5702 GB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.4979, allocations: 7.906 kB / 0.5702 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4981, allocations: 218 kB / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.4981, allocations: 0 / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.4982, allocations: 4 kB / 0.5704 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.4983, allocations: 53.23 kB / 0.5704 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.4983, allocations: 0 / 0.5704 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4983, allocations: 4 kB / 0.5705 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4983, allocations: 0 / 0.5705 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.4984, allocations: 27.36 kB / 0.5705 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.4988, allocations: 306.5 kB / 0.5708 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.4989, allocations: 57.61 kB / 0.5708 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.4989, allocations: 0 / 0.5708 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.4991, allocations: 70.52 kB / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4991, allocations: 0 / 0.5709 GB, free: 6.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.4996, allocations: 173.7 kB / 0.5711 GB, free: 6.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.4996, allocations: 58.91 kB / 0.5711 GB, free: 5.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.4998, allocations: 175.5 kB / 0.5713 GB, free: 5.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.4998, allocations: 25.7 kB / 0.5713 GB, free: 5.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.34e-05/0.4999, allocations: 102.2 kB / 0.5714 GB, free: 5.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4999, allocations: 27.27 kB / 0.5714 GB, free: 5.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.4999, allocations: 0 / 0.5714 GB, free: 5.648 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5001, allocations: 322.4 kB / 0.5717 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.5001, allocations: 23.36 kB / 0.5718 GB, free: 5.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.5002, allocations: 35.95 kB / 0.5718 GB, free: 5.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.5003, allocations: 23.12 kB / 0.5718 GB, free: 5.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5003, allocations: 4 kB / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.5005, allocations: 110.5 kB / 0.5719 GB, free: 5.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5005, allocations: 8 kB / 0.5719 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5005, allocations: 0 / 0.5719 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.5005, allocations: 0 / 0.5719 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.5006, allocations: 15.98 kB / 0.5719 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.5006, allocations: 8.141 kB / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.5007, allocations: 3.984 kB / 0.572 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.5007, allocations: 7.938 kB / 0.572 GB, free: 5.125 MB / 378.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 (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 8.963e-05/0.5008, allocations: 133.1 kB / 0.5721 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.5008, allocations: 15.89 kB / 0.5721 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.5011, allocations: 118.5 kB / 0.5722 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5011, allocations: 4 kB / 0.5722 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5011, allocations: 0 / 0.5722 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5011, allocations: 3.953 kB / 0.5722 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.5016, allocations: 415 kB / 0.5726 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5016, allocations: 0 / 0.5726 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.5016, allocations: 15.98 kB / 0.5726 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5016, allocations: 4 kB / 0.5726 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5016, allocations: 7.25 kB / 0.5726 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5017, allocations: 3.953 kB / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5017, allocations: 0 / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.5019, allocations: 217.4 kB / 0.5729 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.502, allocations: 94.62 kB / 0.573 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.502, allocations: 6.141 kB / 0.573 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.5021, allocations: 4.625 kB / 0.573 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.5021, allocations: 8.672 kB / 0.573 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.5021, allocations: 4.562 kB / 0.573 GB, free: 4.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.5023, allocations: 143 kB / 0.5731 GB, free: 3.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5023, allocations: 0 / 0.5731 GB, free: 3.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.5025, allocations: 39.72 kB / 0.5731 GB, free: 3.91 MB / 378.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) * Number of clocked states: 0 () * 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.001336/0.5039, allocations: 1.204 MB / 0.5743 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.504, allocations: 65.53 kB / 0.5744 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.504, allocations: 0 / 0.5744 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.5041, allocations: 31.42 kB / 0.5744 GB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.5044, allocations: 23.11 kB / 0.5744 GB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5054, allocations: 0.8596 MB / 0.5753 GB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.5057, allocations: 0.715 MB / 0.576 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.5058, allocations: 20.84 kB / 0.576 GB, free: 1.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.5058, allocations: 35.72 kB / 0.576 GB, free: 1.047 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5058, allocations: 7.938 kB / 0.576 GB, free: 1.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.5194, allocations: 2.999 MB / 0.579 GB, free: 14.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.5196, allocations: 213.8 kB / 0.5792 GB, free: 13.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.113, allocations: 0 / 0.5792 GB, free: 13.82 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat