Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001492/0.001492, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.456/1.456, allocations: 221.3 MB / 236 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 96.03 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2484/0.2484, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.743e-05, allocations: 12.14 kB / 451.9 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1568, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5709/0.7278, allocations: 89.45 MB / 0.5892 GB, free: 15.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.7282, allocations: 71.97 kB / 0.5892 GB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.7446, allocations: 5.98 MB / 0.5951 GB, free: 9.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.7447, allocations: 0 / 0.5951 GB, free: 9.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.7447, allocations: 0 / 0.5951 GB, free: 9.75 MB / 410.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.0004718/0.7452, allocations: 394.2 kB / 0.5954 GB, free: 9.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7452, allocations: 8.031 kB / 0.5954 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.7453, allocations: 30.56 kB / 0.5955 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.7453, allocations: 11.91 kB / 0.5955 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.7456, allocations: 220.8 kB / 0.5957 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.7457, allocations: 0 / 0.5957 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.7457, allocations: 4 kB / 0.5957 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.7459, allocations: 75.27 kB / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7459, allocations: 0 / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7459, allocations: 0 / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.7459, allocations: 4 kB / 0.5958 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.746, allocations: 19.98 kB / 0.5958 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.7464, allocations: 284.9 kB / 0.5961 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.7466, allocations: 62.61 kB / 0.5961 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.7466, allocations: 16.98 kB / 0.5961 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7466, allocations: 0 / 0.5961 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.7468, allocations: 71.39 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.7468, allocations: 0 / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004743/0.7473, allocations: 157.2 kB / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.7474, allocations: 81.11 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.7475, allocations: 146.6 kB / 0.5966 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.7476, allocations: 25.7 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.7476, allocations: 96.12 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.7477, allocations: 27.64 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.7477, allocations: 4 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.7478, allocations: 322.8 kB / 0.597 GB, free: 7.504 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.7479, allocations: 20 kB / 0.5971 GB, free: 7.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.748, allocations: 42.56 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.748, allocations: 23.94 kB / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.748, allocations: 0 / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001492/0.7482, allocations: 97.61 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7482, allocations: 4 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7482, allocations: 4.188 kB / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7482, allocations: 0 / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.7483, allocations: 23.92 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.7484, allocations: 3.953 kB / 0.5972 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.7484, allocations: 8 kB / 0.5973 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.7484, allocations: 4 kB / 0.5973 GB, free: 7.262 MB / 410.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 () * 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 7.582e-05/0.7485, allocations: 105 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.7485, allocations: 15.94 kB / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.7488, allocations: 114.3 kB / 0.5975 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7488, allocations: 4 kB / 0.5975 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7488, allocations: 0 / 0.5975 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7488, allocations: 7.891 kB / 0.5975 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.7492, allocations: 399.2 kB / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7493, allocations: 0 / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.7493, allocations: 16.03 kB / 0.5979 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.7493, allocations: 3.984 kB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.7493, allocations: 0 / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7493, allocations: 7.891 kB / 0.5979 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7494, allocations: 4 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.7496, allocations: 210 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.7496, allocations: 97 kB / 0.5982 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.7497, allocations: 7.953 kB / 0.5982 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.7497, allocations: 0 / 0.5982 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.7498, allocations: 7.984 kB / 0.5982 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.7498, allocations: 8 kB / 0.5982 GB, free: 6.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.7499, allocations: 117.8 kB / 0.5983 GB, free: 6.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7499, allocations: 0 / 0.5983 GB, free: 6.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.7502, allocations: 39.94 kB / 0.5984 GB, free: 6.008 MB / 410.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) * 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.001458/0.7517, allocations: 1.187 MB / 0.5995 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.7518, allocations: 63.92 kB / 0.5996 GB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7519, allocations: 0 / 0.5996 GB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.7519, allocations: 27.94 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.7522, allocations: 32.05 kB / 0.5996 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.7527, allocations: 192.9 kB / 0.5998 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.753, allocations: 0.7082 MB / 0.6005 GB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.7531, allocations: 20.8 kB / 0.6005 GB, free: 3.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.7531, allocations: 43.34 kB / 0.6006 GB, free: 3.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7531, allocations: 0 / 0.6006 GB, free: 3.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.7696, allocations: 3.07 MB / 0.6036 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7699, allocations: 204.6 kB / 0.6038 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.481, allocations: 0 / 0.6038 GB, free: 0.5547 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat