Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001076/0.001076, 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.649/1.649, 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.001051/0.00105, allocations: 90.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.2874/0.2874, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5944, allocations: 87.72 MB / 0.5645 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5947, allocations: 72.41 kB / 0.5646 GB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.6096, allocations: 5.462 MB / 0.5699 GB, free: 7.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6096, allocations: 4 kB / 0.5699 GB, free: 7.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.6096, allocations: 0 / 0.5699 GB, free: 7.281 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.0005561/0.6102, allocations: 426.1 kB / 0.5703 GB, free: 6.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.6102, allocations: 12.03 kB / 0.5703 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.6103, allocations: 33.69 kB / 0.5704 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.6103, allocations: 23.73 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.6107, allocations: 214.6 kB / 0.5706 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6107, allocations: 4 kB / 0.5706 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6107, allocations: 0 / 0.5706 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.6109, allocations: 55.86 kB / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6109, allocations: 0 / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6109, allocations: 4 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6109, allocations: 3.938 kB / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.988e-05/0.611, allocations: 23.55 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.6114, allocations: 296.5 kB / 0.571 GB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.6116, allocations: 57.05 kB / 0.571 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6116, allocations: 4 kB / 0.571 GB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.6118, allocations: 74.36 kB / 0.5711 GB, free: 5.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.6118, allocations: 0 / 0.5711 GB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005851/0.6124, allocations: 191.8 kB / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.6125, allocations: 51.41 kB / 0.5713 GB, free: 5.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.6126, allocations: 178.9 kB / 0.5715 GB, free: 5.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.6127, allocations: 33.2 kB / 0.5715 GB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.6127, allocations: 100.8 kB / 0.5716 GB, free: 5.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.6128, allocations: 22.97 kB / 0.5717 GB, free: 5.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6128, allocations: 3.25 kB / 0.5717 GB, free: 5.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6129, allocations: 326.2 kB / 0.572 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.613, allocations: 21.73 kB / 0.572 GB, free: 5.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.6131, allocations: 34.14 kB / 0.572 GB, free: 5.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.783e-05/0.6131, allocations: 25.36 kB / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6132, allocations: 0 / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.6134, allocations: 100 kB / 0.5721 GB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6134, allocations: 11.47 kB / 0.5722 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6134, allocations: 4 kB / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6134, allocations: 0 / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.6135, allocations: 20.55 kB / 0.5722 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6135, allocations: 3.953 kB / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.6136, allocations: 5.125 kB / 0.5722 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6136, allocations: 4.625 kB / 0.5722 GB, free: 4.922 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 0.0001114/0.6137, allocations: 129.5 kB / 0.5723 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6137, allocations: 15.81 kB / 0.5723 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.614, allocations: 128.6 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.614, allocations: 384 / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.614, allocations: 0 / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6141, allocations: 7.938 kB / 0.5725 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.6145, allocations: 414.6 kB / 0.5729 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6145, allocations: 0 / 0.5729 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.6146, allocations: 8 kB / 0.5729 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6146, allocations: 7.969 kB / 0.5729 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.6146, allocations: 11.61 kB / 0.5729 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6146, allocations: 3.953 kB / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6146, allocations: 0 / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.6149, allocations: 216.9 kB / 0.5731 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.615, allocations: 98.75 kB / 0.5732 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.615, allocations: 5.516 kB / 0.5732 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.6151, allocations: 8.734 kB / 0.5732 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.6152, allocations: 17.59 kB / 0.5732 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.6152, allocations: 4 kB / 0.5732 GB, free: 3.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.6153, allocations: 152.1 kB / 0.5734 GB, free: 3.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6153, allocations: 0 / 0.5734 GB, free: 3.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.6156, allocations: 35.17 kB / 0.5734 GB, free: 3.684 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.001471/0.6171, allocations: 1.192 MB / 0.5746 GB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.6173, allocations: 63.16 kB / 0.5746 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6173, allocations: 0 / 0.5746 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.6174, allocations: 33.05 kB / 0.5747 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.6176, allocations: 19.67 kB / 0.5747 GB, free: 2.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.6188, allocations: 0.9021 MB / 0.5756 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.6191, allocations: 0.7115 MB / 0.5763 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.144e-05/0.6192, allocations: 8.672 kB / 0.5763 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.6193, allocations: 39.86 kB / 0.5763 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6193, allocations: 0 / 0.5763 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.6339, allocations: 3.08 MB / 0.5793 GB, free: 13.76 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.6341, allocations: 217.8 kB / 0.5795 GB, free: 13.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.288, allocations: 0 / 0.5795 GB, free: 13.52 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat