Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001075/0.001075, allocations: 179.6 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.462/1.462, allocations: 221.4 MB / 236 MB, free: 2.938 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.000875/0.000875, allocations: 88.06 kB / 287 MB, free: 244 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.2457/0.2457, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.289e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.5931, allocations: 89.44 MB / 0.5891 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5934, allocations: 75.94 kB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.6099, allocations: 5.989 MB / 0.5951 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6099, allocations: 0 / 0.5951 GB, free: 9.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.61, allocations: 0 / 0.5951 GB, free: 9.773 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.0005552/0.6105, allocations: 394.2 kB / 0.5954 GB, free: 9.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6106, allocations: 8.031 kB / 0.5955 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.6106, allocations: 38.55 kB / 0.5955 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.6107, allocations: 11.91 kB / 0.5955 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.611, allocations: 208.9 kB / 0.5957 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.611, allocations: 7.938 kB / 0.5957 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6111, allocations: 0 / 0.5957 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6112, allocations: 71.33 kB / 0.5958 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6113, allocations: 3.938 kB / 0.5958 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6113, allocations: 4 kB / 0.5958 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6113, allocations: 4 kB / 0.5958 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.6114, allocations: 16 kB / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.6118, allocations: 288.9 kB / 0.5961 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.6119, allocations: 54.62 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.612, allocations: 20.98 kB / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.612, allocations: 0 / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.6122, allocations: 71.39 kB / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.6122, allocations: 0 / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.6127, allocations: 149.2 kB / 0.5964 GB, free: 8.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.6128, allocations: 81.11 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6129, allocations: 150.6 kB / 0.5966 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.613, allocations: 29.7 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.613, allocations: 92.14 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.6131, allocations: 31.64 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.6131, allocations: 0 / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6132, allocations: 322.8 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.6133, allocations: 20 kB / 0.5971 GB, free: 7.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.6133, allocations: 34.58 kB / 0.5971 GB, free: 7.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.6134, allocations: 27.92 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6134, allocations: 4 kB / 0.5971 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001499/0.6136, allocations: 93.62 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.6136, allocations: 4 kB / 0.5972 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6136, allocations: 3.984 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6136, allocations: 4 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.6137, allocations: 16.12 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.6137, allocations: 7.953 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.6138, allocations: 4 kB / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.6138, allocations: 7.984 kB / 0.5973 GB, free: 7.293 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.978e-05/0.6139, allocations: 109 kB / 0.5974 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.6139, allocations: 15.89 kB / 0.5974 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.6142, allocations: 114.3 kB / 0.5975 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6142, allocations: 0 / 0.5975 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6142, allocations: 4 kB / 0.5975 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6142, allocations: 7.891 kB / 0.5975 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.6147, allocations: 399.2 kB / 0.5979 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.6147, allocations: 0 / 0.5979 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.6147, allocations: 16.03 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6147, allocations: 4 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6148, allocations: 0 / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.6148, allocations: 3.953 kB / 0.5979 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.6148, allocations: 3.938 kB / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.615, allocations: 210.2 kB / 0.5981 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.6151, allocations: 96.94 kB / 0.5982 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.6151, allocations: 11.95 kB / 0.5982 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.6152, allocations: 3.984 kB / 0.5982 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.6152, allocations: 4 kB / 0.5982 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6153, allocations: 4 kB / 0.5982 GB, free: 6.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.6154, allocations: 121.8 kB / 0.5983 GB, free: 6.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6154, allocations: 0 / 0.5983 GB, free: 6.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.6157, allocations: 43.92 kB / 0.5984 GB, free: 6.031 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.001519/0.6172, allocations: 1.179 MB / 0.5995 GB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.6174, allocations: 59.94 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6174, allocations: 0 / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.6174, allocations: 32.06 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.6177, allocations: 31.95 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.6183, allocations: 196.9 kB / 0.5998 GB, free: 4.594 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.6187, allocations: 0.7004 MB / 0.6005 GB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.301e-05/0.6188, allocations: 20.84 kB / 0.6005 GB, free: 3.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.6189, allocations: 43.23 kB / 0.6006 GB, free: 3.805 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.6189, allocations: 0 / 0.6006 GB, free: 3.805 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.6354, allocations: 3.096 MB / 0.6036 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.6357, allocations: 193.8 kB / 0.6038 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.312, allocations: 0 / 0.6038 GB, free: 0.5742 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat