Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001338/0.001338, allocations: 177.1 kB / 17.06 MB, free: 5.098 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.314/1.314, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009281/0.000928, allocations: 101.7 kB / 292.1 MB, free: 10.69 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.3641/0.3641, allocations: 44.22 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4596, allocations: 61.9 MB / 0.5096 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.5808, allocations: 89.31 MB / 0.5969 GB, free: 5.785 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5811, allocations: 87.91 kB / 0.5969 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.6009, allocations: 6.061 MB / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.601, allocations: 0 / 0.6029 GB, free: 15.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.601, allocations: 8 kB / 0.6029 GB, free: 15.64 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.0008093/0.6018, allocations: 470.5 kB / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.6019, allocations: 8.031 kB / 0.6033 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.602, allocations: 34.56 kB / 0.6034 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.6021, allocations: 15.81 kB / 0.6034 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.6026, allocations: 242.7 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6026, allocations: 7.953 kB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6027, allocations: 4 kB / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.6029, allocations: 101 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6029, allocations: 0 / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.603, allocations: 0 / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.603, allocations: 4 kB / 0.6037 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.6031, allocations: 31.97 kB / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.6034, allocations: 230.5 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.6037, allocations: 109.2 kB / 0.6041 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6037, allocations: 4 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.604, allocations: 113.1 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.604, allocations: 0 / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005097/0.6045, allocations: 173.4 kB / 0.6044 GB, free: 13.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.6046, allocations: 128.5 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.6049, allocations: 206.9 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.6049, allocations: 25.7 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.605, allocations: 116.1 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.605, allocations: 35.53 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.605, allocations: 0 / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.6052, allocations: 327.1 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.6053, allocations: 31.97 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.6055, allocations: 74.89 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.6056, allocations: 39.92 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6056, allocations: 3.938 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.6059, allocations: 141.4 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6059, allocations: 8 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.606, allocations: 4.094 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.606, allocations: 4 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.6061, allocations: 23.92 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6061, allocations: 0 / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6062, allocations: 15.98 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.6063, allocations: 7.984 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001529/0.6064, allocations: 130.4 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.6065, allocations: 20.39 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.6068, allocations: 170.5 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6069, allocations: 0 / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6069, allocations: 0 / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6069, allocations: 4 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.6071, allocations: 217.5 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6071, allocations: 0 / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.6072, allocations: 19.92 kB / 0.606 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6072, allocations: 0 / 0.606 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.6072, allocations: 11.95 kB / 0.606 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6072, allocations: 4 kB / 0.606 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6072, allocations: 0 / 0.606 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.6076, allocations: 187.4 kB / 0.6062 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6077, allocations: 104.9 kB / 0.6063 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.6078, allocations: 4 kB / 0.6063 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.6079, allocations: 11.98 kB / 0.6063 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.6079, allocations: 11.92 kB / 0.6064 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.6079, allocations: 8 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.6081, allocations: 164.2 kB / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6081, allocations: 0 / 0.6065 GB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.6084, allocations: 51.92 kB / 0.6066 GB, free: 11.45 MB / 426.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001721/0.6102, allocations: 1.165 MB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.6105, allocations: 87.91 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6105, allocations: 0 / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6106, allocations: 47.97 kB / 0.6078 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.6109, allocations: 41.78 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.6128, allocations: 1.353 MB / 0.6092 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6131, allocations: 0.7205 MB / 0.6099 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.6133, allocations: 29.53 kB / 0.6099 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6134, allocations: 55.41 kB / 0.61 GB, free: 8 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.6134, allocations: 0 / 0.61 GB, free: 8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.6314, allocations: 4.21 MB / 0.6141 GB, free: 3.945 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.6317, allocations: 231.5 kB / 0.6143 GB, free: 3.699 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.438, allocations: 0 / 0.6143 GB, free: 3.699 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat