Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.00149/0.00149, allocations: 184.8 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.711/1.711, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000872/0.0008719, allocations: 94.84 kB / 270.2 MB, free: 13.36 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.2278/0.2278, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5307/0.6785, allocations: 87.51 MB / 0.5643 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000461/0.679, allocations: 76.22 kB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.6938, allocations: 5.164 MB / 0.5694 GB, free: 7.801 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6938, allocations: 0 / 0.5694 GB, free: 7.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.6938, allocations: 4 kB / 0.5694 GB, free: 7.797 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005959/0.6944, allocations: 410.2 kB / 0.5698 GB, free: 7.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.6945, allocations: 12.03 kB / 0.5698 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.6946, allocations: 38.48 kB / 0.5699 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.6946, allocations: 11.84 kB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.695, allocations: 216.7 kB / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6951, allocations: 0 / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.6951, allocations: 4 kB / 0.5701 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.6952, allocations: 45.17 kB / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.6953, allocations: 0 / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6953, allocations: 0 / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6953, allocations: 4 kB / 0.5701 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.6954, allocations: 26.8 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.6957, allocations: 184 kB / 0.5703 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6958, allocations: 57.42 kB / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.6959, allocations: 0 / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.696, allocations: 65.86 kB / 0.5705 GB, free: 6.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.6961, allocations: 0 / 0.5705 GB, free: 6.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003216/0.6964, allocations: 102.6 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.6964, allocations: 51.41 kB / 0.5706 GB, free: 6.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6966, allocations: 170.6 kB / 0.5708 GB, free: 6.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.6967, allocations: 29.27 kB / 0.5708 GB, free: 6.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.6967, allocations: 102.8 kB / 0.5709 GB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6968, allocations: 19.73 kB / 0.5709 GB, free: 6.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.6968, allocations: 0 / 0.5709 GB, free: 6.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.697, allocations: 326.3 kB / 0.5712 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.697, allocations: 15.73 kB / 0.5712 GB, free: 5.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.6971, allocations: 27.39 kB / 0.5713 GB, free: 5.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.6972, allocations: 21.94 kB / 0.5713 GB, free: 5.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6972, allocations: 4 kB / 0.5713 GB, free: 5.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002021/0.6974, allocations: 79.03 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6974, allocations: 11.47 kB / 0.5714 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6974, allocations: 4 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.6974, allocations: 3.984 kB / 0.5714 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.6975, allocations: 8 kB / 0.5714 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6975, allocations: 3.938 kB / 0.5714 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.6976, allocations: 5.438 kB / 0.5714 GB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.6976, allocations: 4 kB / 0.5714 GB, free: 5.691 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 (7): * Single equations (assignments): 7 * 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.0001222/0.6978, allocations: 134.8 kB / 0.5715 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.6978, allocations: 12.38 kB / 0.5716 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.698, allocations: 102.5 kB / 0.5717 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.698, allocations: 3.984 kB / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6981, allocations: 0 / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6981, allocations: 0 / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.6982, allocations: 184.9 kB / 0.5718 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6982, allocations: 3.953 kB / 0.5718 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.6983, allocations: 12.25 kB / 0.5718 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6983, allocations: 4 kB / 0.5718 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6983, allocations: 0 / 0.5718 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.6983, allocations: 4 kB / 0.5719 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6983, allocations: 4 kB / 0.5719 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.6985, allocations: 110 kB / 0.572 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.6986, allocations: 99.77 kB / 0.5721 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.6986, allocations: 0 / 0.5721 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.851e-05/0.6987, allocations: 0 / 0.5721 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.6987, allocations: 11.48 kB / 0.5721 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6988, allocations: 4 kB / 0.5721 GB, free: 4.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.6989, allocations: 144 kB / 0.5722 GB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6989, allocations: 3.938 kB / 0.5722 GB, free: 4.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.6991, allocations: 27.34 kB / 0.5722 GB, free: 4.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001319/0.7005, allocations: 0.9567 MB / 0.5732 GB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.7007, allocations: 51.03 kB / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7007, allocations: 0 / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.7008, allocations: 23.38 kB / 0.5732 GB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.701, allocations: 30.75 kB / 0.5733 GB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.7022, allocations: 0.7926 MB / 0.574 GB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.7027, allocations: 0.7082 MB / 0.5747 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.7028, allocations: 8.438 kB / 0.5747 GB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.703, allocations: 28.73 kB / 0.5748 GB, free: 2.281 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.703, allocations: 0 / 0.5748 GB, free: 2.281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.7195, allocations: 2.72 MB / 0.5774 GB, free: 15.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.7198, allocations: 217.6 kB / 0.5776 GB, free: 15.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.585, allocations: 0 / 0.5776 GB, free: 15.34 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat