Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001677/0.001676, allocations: 176.5 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009431/0.0009433, allocations: 93.36 kB / 281.6 MB, free: 5.332 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.1819/0.1819, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.065e-05, allocations: 8.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4901, allocations: 88.52 MB / 0.5812 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4905, allocations: 71.97 kB / 0.5813 GB, free: 7.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5054, allocations: 5.392 MB / 0.5866 GB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5055, allocations: 0 / 0.5866 GB, free: 2.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.5055, allocations: 0 / 0.5866 GB, free: 2.367 MB / 394.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.0004487/0.506, allocations: 387.6 kB / 0.5869 GB, free: 1.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.506, allocations: 11.98 kB / 0.5869 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.5061, allocations: 7.906 kB / 0.5869 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.5064, allocations: 214.8 kB / 0.5872 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.5064, allocations: 3.953 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.5064, allocations: 11.91 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.576e-05/0.5065, allocations: 23.98 kB / 0.5872 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.5066, allocations: 45.67 kB / 0.5872 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5066, allocations: 7.938 kB / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.5066, allocations: 0 / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5067, allocations: 0 / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.507, allocations: 265.5 kB / 0.5875 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5071, allocations: 58.62 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.5072, allocations: 16.98 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5072, allocations: 3.984 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.5073, allocations: 59.39 kB / 0.5876 GB, free: 1.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5073, allocations: 0 / 0.5876 GB, free: 1.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004199/0.5078, allocations: 145.2 kB / 0.5878 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5078, allocations: 55.41 kB / 0.5878 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.508, allocations: 158.3 kB / 0.588 GB, free: 0.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.508, allocations: 25.7 kB / 0.588 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.508, allocations: 100.1 kB / 0.5881 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.5081, allocations: 23.66 kB / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.5081, allocations: 0.75 kB / 0.5881 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5082, allocations: 322.8 kB / 0.5884 GB, free: 276 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.5083, allocations: 16 kB / 0.5884 GB, free: 260 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.5083, allocations: 41.64 kB / 0.5885 GB, free: 212 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.5084, allocations: 31.88 kB / 0.5885 GB, free: 180 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5084, allocations: 0 / 0.5885 GB, free: 180 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001366/0.5085, allocations: 89.58 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5085, allocations: 4 kB / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5085, allocations: 0 / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.5086, allocations: 4 kB / 0.5886 GB, free: 76 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.5087, allocations: 19.92 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5087, allocations: 0 / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.5087, allocations: 8.031 kB / 0.5886 GB, free: 48 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.5087, allocations: 4 kB / 0.5886 GB, free: 44 kB / 394.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 8.169e-05/0.5088, allocations: 108.9 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001309/0.509, allocations: 89.77 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.509, allocations: 11.81 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.5092, allocations: 110.2 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5092, allocations: 4 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5092, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5092, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.5096, allocations: 380 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5096, allocations: 0 / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.5096, allocations: 8 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5096, allocations: 3.984 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.5096, allocations: 4 kB / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5097, allocations: 0 / 0.5893 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5097, allocations: 3.938 kB / 0.5893 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.5099, allocations: 213.9 kB / 0.5895 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.5099, allocations: 89.02 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.5099, allocations: 7.984 kB / 0.5896 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.51, allocations: 0 / 0.5896 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.5101, allocations: 15.88 kB / 0.5896 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.5101, allocations: 4.375 kB / 0.5896 GB, free: 14.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.59e-05/0.5102, allocations: 131.3 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5102, allocations: 0 / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.5105, allocations: 35.92 kB / 0.5898 GB, free: 14.73 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.001197/0.5117, allocations: 1.1 MB / 0.5909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.5118, allocations: 55.94 kB / 0.5909 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5118, allocations: 0 / 0.5909 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.5119, allocations: 23.98 kB / 0.591 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.5121, allocations: 27.88 kB / 0.591 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.5127, allocations: 207.7 kB / 0.5912 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.513, allocations: 0.7119 MB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.5131, allocations: 24.7 kB / 0.5919 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.5131, allocations: 31.42 kB / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5131, allocations: 0 / 0.5919 GB, free: 12.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.5361, allocations: 2.578 MB / 0.5944 GB, free: 9.969 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.5364, allocations: 168.3 kB / 0.5946 GB, free: 9.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.163, allocations: 0 / 0.5946 GB, free: 9.773 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat