Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001752/0.001751, allocations: 183.4 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.732/1.732, 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.001099/0.001099, allocations: 90.84 kB / 270.2 MB, free: 13.37 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.2196/0.2196, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 58.86 MB / 490.4 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4775, allocations: 87.94 MB / 0.5647 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4778, allocations: 74.84 kB / 0.5648 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.4937, allocations: 5.964 MB / 0.5706 GB, free: 7.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4937, allocations: 0 / 0.5706 GB, free: 7.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4937, allocations: 8 kB / 0.5706 GB, free: 7.004 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.0005142/0.4942, allocations: 407.2 kB / 0.571 GB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4943, allocations: 12.03 kB / 0.571 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.4943, allocations: 34.5 kB / 0.5711 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4944, allocations: 7.906 kB / 0.5711 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.4947, allocations: 213.9 kB / 0.5713 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4947, allocations: 7.875 kB / 0.5713 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4947, allocations: 8 kB / 0.5713 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4949, allocations: 75 kB / 0.5714 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4949, allocations: 3.906 kB / 0.5714 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4949, allocations: 4 kB / 0.5714 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4949, allocations: 0 / 0.5714 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.495, allocations: 31.56 kB / 0.5714 GB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.4954, allocations: 279.6 kB / 0.5717 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4955, allocations: 61.98 kB / 0.5717 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4955, allocations: 0 / 0.5717 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.4957, allocations: 70.95 kB / 0.5718 GB, free: 5.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.4957, allocations: 0 / 0.5718 GB, free: 5.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005106/0.4962, allocations: 179.7 kB / 0.572 GB, free: 5.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4963, allocations: 81.11 kB / 0.5721 GB, free: 5.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.4964, allocations: 144.5 kB / 0.5722 GB, free: 5.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4964, allocations: 29.64 kB / 0.5722 GB, free: 5.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.4965, allocations: 95.81 kB / 0.5723 GB, free: 5.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4965, allocations: 19.53 kB / 0.5723 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.4965, allocations: 0 / 0.5723 GB, free: 5.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4967, allocations: 322.8 kB / 0.5726 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.4967, allocations: 23.73 kB / 0.5727 GB, free: 4.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.4968, allocations: 42.31 kB / 0.5727 GB, free: 4.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.4969, allocations: 23.38 kB / 0.5727 GB, free: 4.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4969, allocations: 4 kB / 0.5727 GB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.497, allocations: 100.1 kB / 0.5728 GB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4971, allocations: 7.953 kB / 0.5728 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4971, allocations: 0 / 0.5728 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4971, allocations: 4.062 kB / 0.5728 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.4972, allocations: 23.92 kB / 0.5729 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4972, allocations: 0 / 0.5729 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.4973, allocations: 7.906 kB / 0.5729 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4973, allocations: 7.812 kB / 0.5729 GB, free: 4.664 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.858e-05/0.4974, allocations: 117.6 kB / 0.573 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.4974, allocations: 11.89 kB / 0.573 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4977, allocations: 125 kB / 0.5731 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4977, allocations: 4 kB / 0.5731 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4977, allocations: 3.938 kB / 0.5731 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4977, allocations: 0 / 0.5731 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.4981, allocations: 408.2 kB / 0.5735 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4982, allocations: 4.328 kB / 0.5735 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.4982, allocations: 8 kB / 0.5735 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4982, allocations: 4 kB / 0.5735 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4982, allocations: 7.984 kB / 0.5735 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4982, allocations: 4.031 kB / 0.5735 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4982, allocations: 0 / 0.5735 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.4985, allocations: 220.8 kB / 0.5737 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.4985, allocations: 92.91 kB / 0.5738 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.4986, allocations: 7.812 kB / 0.5738 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.4987, allocations: 4 kB / 0.5738 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4987, allocations: 11.92 kB / 0.5739 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4987, allocations: 7.938 kB / 0.5739 GB, free: 3.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.4988, allocations: 122.1 kB / 0.574 GB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4988, allocations: 0 / 0.574 GB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000296/0.4991, allocations: 27.88 kB / 0.574 GB, free: 3.496 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.001628/0.5008, allocations: 1.242 MB / 0.5752 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.501, allocations: 63.16 kB / 0.5753 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.501, allocations: 0 / 0.5753 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.5011, allocations: 31.86 kB / 0.5753 GB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.5014, allocations: 19.92 kB / 0.5753 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.5025, allocations: 0.8063 MB / 0.5761 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.5028, allocations: 0.7004 MB / 0.5768 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.796e-05/0.5029, allocations: 12.86 kB / 0.5768 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.503, allocations: 30.73 kB / 0.5768 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.503, allocations: 0 / 0.5768 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.5199, allocations: 3.098 MB / 0.5799 GB, free: 13.59 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5202, allocations: 218.4 kB / 0.5801 GB, free: 13.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.15, allocations: 0 / 0.5801 GB, free: 13.34 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat