Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001128/0.001127, allocations: 173.1 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.432/1.432, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008437/0.0008436, allocations: 92.3 kB / 281.6 MB, free: 5.324 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.1857/0.1857, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.631e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4753, allocations: 88.56 MB / 0.5813 GB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4756, allocations: 79.86 kB / 0.5813 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.4911, allocations: 5.605 MB / 0.5868 GB, free: 2.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4912, allocations: 0 / 0.5868 GB, free: 2.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4912, allocations: 0 / 0.5868 GB, free: 2.113 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.0004663/0.4917, allocations: 406.2 kB / 0.5872 GB, free: 1.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4917, allocations: 15.98 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.4918, allocations: 11.81 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.4921, allocations: 215.6 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.4921, allocations: 7.953 kB / 0.5874 GB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.4922, allocations: 3.938 kB / 0.5874 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.542e-05/0.4922, allocations: 16 kB / 0.5874 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4923, allocations: 57.61 kB / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4924, allocations: 0 / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4924, allocations: 0 / 0.5875 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4924, allocations: 7.922 kB / 0.5875 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.4928, allocations: 273.5 kB / 0.5878 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4929, allocations: 46.69 kB / 0.5878 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.4929, allocations: 16.98 kB / 0.5878 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.493, allocations: 3.984 kB / 0.5878 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.4931, allocations: 63.34 kB / 0.5879 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4931, allocations: 4 kB / 0.5879 GB, free: 0.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004349/0.4935, allocations: 153.2 kB / 0.588 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4936, allocations: 55.34 kB / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.4938, allocations: 175.7 kB / 0.5883 GB, free: 436 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4938, allocations: 25.7 kB / 0.5883 GB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.4939, allocations: 108.1 kB / 0.5884 GB, free: 292 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4939, allocations: 27.64 kB / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.4939, allocations: 0 / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.494, allocations: 326.8 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.4941, allocations: 16 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.4941, allocations: 29.72 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.4942, allocations: 23.94 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4942, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.4944, allocations: 97.52 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4944, allocations: 4 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4944, allocations: 0 / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4944, allocations: 4.031 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.4945, allocations: 19.98 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4945, allocations: 0 / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.4946, allocations: 4 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4946, allocations: 0 / 0.5889 GB, free: 15.72 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 9.345e-05/0.4947, allocations: 110.9 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001346/0.4948, allocations: 101.4 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.4949, allocations: 11.91 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.4951, allocations: 119.8 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4951, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4951, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4951, allocations: 0 / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.4955, allocations: 387.7 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4955, allocations: 0 / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.4956, allocations: 15.94 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4956, allocations: 3.984 kB / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4956, allocations: 0 / 0.5896 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4956, allocations: 8.031 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4956, allocations: 0 / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.4958, allocations: 214.1 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.4959, allocations: 92.92 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4959, allocations: 3.984 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.496, allocations: 4 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.4961, allocations: 19.94 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4961, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4962, allocations: 144 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4962, allocations: 0 / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.4965, allocations: 31.94 kB / 0.5901 GB, free: 14.38 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.001279/0.4978, allocations: 1.108 MB / 0.5912 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.4979, allocations: 55.97 kB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4979, allocations: 0 / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.498, allocations: 27.94 kB / 0.5913 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4982, allocations: 23.94 kB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4988, allocations: 227.2 kB / 0.5915 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4991, allocations: 0.7157 MB / 0.5922 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.4992, allocations: 24.64 kB / 0.5923 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.4992, allocations: 35.42 kB / 0.5923 GB, free: 12.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4992, allocations: 4 kB / 0.5923 GB, free: 12.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.5194, allocations: 2.717 MB / 0.5949 GB, free: 9.453 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.5196, allocations: 162.1 kB / 0.5951 GB, free: 9.266 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.136, allocations: 7.938 kB / 0.5951 GB, free: 9.258 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat