Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 185.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009442/0.000944, allocations: 103.2 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3479/0.3479, allocations: 44.22 MB / 387.5 MB, free: 38.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4288, allocations: 61.89 MB / 0.5096 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5868, allocations: 89.35 MB / 0.5969 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5872, allocations: 87.91 kB / 0.597 GB, free: 5.711 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02391/0.6111, allocations: 5.941 MB / 0.6028 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.6111, allocations: 0 / 0.6028 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.6112, allocations: 4 kB / 0.6028 GB, free: 15.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007977/0.612, allocations: 434.8 kB / 0.6032 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.6121, allocations: 12.03 kB / 0.6032 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.745e-05/0.6121, allocations: 38.5 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.6122, allocations: 15.81 kB / 0.6033 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.6126, allocations: 221.1 kB / 0.6035 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.6127, allocations: 3.953 kB / 0.6035 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.6127, allocations: 7.906 kB / 0.6035 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.6129, allocations: 61.66 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6129, allocations: 0 / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.613, allocations: 4 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.613, allocations: 4 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.6131, allocations: 31.91 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.6137, allocations: 304.8 kB / 0.6039 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.614, allocations: 62.55 kB / 0.6039 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.6141, allocations: 0 / 0.6039 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.6143, allocations: 79.44 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.6143, allocations: 0 / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001006/0.6153, allocations: 245.1 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6154, allocations: 55.41 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.6156, allocations: 193.5 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.6157, allocations: 25.7 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.6158, allocations: 116 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.6158, allocations: 31.62 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.6158, allocations: 4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.616, allocations: 338.7 kB / 0.605 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.6161, allocations: 31.98 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.6162, allocations: 43.58 kB / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.6164, allocations: 35.94 kB / 0.6051 GB, free: 13.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6164, allocations: 4 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003253/0.6167, allocations: 129.4 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6167, allocations: 5.562 kB / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6168, allocations: 0 / 0.6052 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.6168, allocations: 4 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.6169, allocations: 23.92 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.6169, allocations: 0 / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.617, allocations: 8 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.6171, allocations: 7.984 kB / 0.6052 GB, free: 13 MB / 426.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 (13): * Single equations (assignments): 13 * 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.0001915/0.6173, allocations: 136.5 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.6173, allocations: 7.906 kB / 0.6054 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.6177, allocations: 147.7 kB / 0.6055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.6177, allocations: 4 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6178, allocations: 3.938 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.6178, allocations: 3.984 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008048/0.6186, allocations: 472 kB / 0.606 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6186, allocations: 3.984 kB / 0.606 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.6187, allocations: 16 kB / 0.606 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.6187, allocations: 4 kB / 0.606 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.6187, allocations: 7.984 kB / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6187, allocations: 0 / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6188, allocations: 3.953 kB / 0.606 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.6192, allocations: 268.5 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.6193, allocations: 92.95 kB / 0.6064 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.6194, allocations: 8 kB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6195, allocations: 4 kB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.6195, allocations: 11.98 kB / 0.6064 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.6196, allocations: 8 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.6198, allocations: 159.2 kB / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6198, allocations: 0 / 0.6065 GB, free: 11.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004585/0.6203, allocations: 51.94 kB / 0.6066 GB, free: 11.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002429/0.6227, allocations: 1.355 MB / 0.6079 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.623, allocations: 83.84 kB / 0.608 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.623, allocations: 0 / 0.608 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.6232, allocations: 47.98 kB / 0.608 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.6236, allocations: 31.11 kB / 0.6081 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.6256, allocations: 0.9891 MB / 0.609 GB, free: 9.102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.6261, allocations: 0.7238 MB / 0.6098 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.6262, allocations: 20.64 kB / 0.6098 GB, free: 8.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.6263, allocations: 43.41 kB / 0.6098 GB, free: 8.289 MB / 426.7 MB Notification: Performance of SimCode: time 3.998e-06/0.6263, allocations: 0 / 0.6098 GB, free: 8.289 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.6461, allocations: 3.443 MB / 0.6132 GB, free: 4.973 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.6465, allocations: 220.3 kB / 0.6134 GB, free: 4.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.251, allocations: 0 / 0.6134 GB, free: 4.73 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat