Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001834/0.001834, allocations: 180.1 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.561/1.561, allocations: 221.3 MB / 236 MB, free: 2.953 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.001021/0.001021, allocations: 92.03 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.2283/0.2283, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.146e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.6169, allocations: 89.22 MB / 0.5889 GB, free: 44 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6172, allocations: 79.94 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.6332, allocations: 5.885 MB / 0.5948 GB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.6333, allocations: 4 kB / 0.5948 GB, free: 10.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.6333, allocations: 4 kB / 0.5948 GB, free: 10.09 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.0005547/0.6338, allocations: 426.1 kB / 0.5952 GB, free: 9.629 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6339, allocations: 8.031 kB / 0.5952 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.634, allocations: 34.56 kB / 0.5952 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.634, allocations: 7.906 kB / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.6345, allocations: 226.5 kB / 0.5954 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.6345, allocations: 7.891 kB / 0.5954 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.6345, allocations: 12 kB / 0.5955 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.6347, allocations: 53.61 kB / 0.5955 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6347, allocations: 0 / 0.5955 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6347, allocations: 4 kB / 0.5955 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.6348, allocations: 7.938 kB / 0.5955 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.6348, allocations: 19.98 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.6353, allocations: 308.8 kB / 0.5958 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6355, allocations: 62.62 kB / 0.5959 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.6355, allocations: 16.98 kB / 0.5959 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.6355, allocations: 0 / 0.5959 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.6357, allocations: 67.39 kB / 0.596 GB, free: 8.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.6357, allocations: 0 / 0.596 GB, free: 8.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005165/0.6362, allocations: 153.1 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.6363, allocations: 63.39 kB / 0.5962 GB, free: 8.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.6366, allocations: 233.8 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6366, allocations: 29.7 kB / 0.5964 GB, free: 8.172 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.6367, allocations: 112.1 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.6367, allocations: 19.66 kB / 0.5966 GB, free: 8.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.6367, allocations: 4 kB / 0.5966 GB, free: 8.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6368, allocations: 334.8 kB / 0.5969 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.6369, allocations: 20 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/0.6369, allocations: 37.66 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.637, allocations: 19.98 kB / 0.597 GB, free: 7.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.637, allocations: 0 / 0.597 GB, free: 7.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.6372, allocations: 101.5 kB / 0.597 GB, free: 7.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6372, allocations: 9.25 kB / 0.5971 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6372, allocations: 3.938 kB / 0.5971 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6372, allocations: 0 / 0.5971 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.6373, allocations: 19.98 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6374, allocations: 8.031 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.6374, allocations: 0 / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.6374, allocations: 4.344 kB / 0.5971 GB, free: 7.469 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 8.55e-05/0.6375, allocations: 116.9 kB / 0.5972 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.6376, allocations: 19.8 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.6378, allocations: 123.2 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6378, allocations: 3.984 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6378, allocations: 0 / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6379, allocations: 8 kB / 0.5974 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.6384, allocations: 431.2 kB / 0.5978 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6384, allocations: 0 / 0.5978 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.6385, allocations: 19.86 kB / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6385, allocations: 0 / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.6385, allocations: 4 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6385, allocations: 0 / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6385, allocations: 0 / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.6387, allocations: 229.8 kB / 0.598 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.6388, allocations: 100.9 kB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.6389, allocations: 4 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.6389, allocations: 4 kB / 0.5981 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.639, allocations: 11.94 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.639, allocations: 4 kB / 0.5981 GB, free: 6.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.6392, allocations: 200.2 kB / 0.5983 GB, free: 6.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6392, allocations: 0 / 0.5983 GB, free: 6.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.6395, allocations: 39.92 kB / 0.5984 GB, free: 6.059 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.001459/0.6409, allocations: 1.138 MB / 0.5995 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.6411, allocations: 55.94 kB / 0.5995 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6411, allocations: 0 / 0.5995 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.6412, allocations: 39.92 kB / 0.5996 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.6415, allocations: 31.78 kB / 0.5996 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.6422, allocations: 285 kB / 0.5999 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.6425, allocations: 0.7199 MB / 0.6006 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.591e-05/0.6426, allocations: 32.7 kB / 0.6006 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.6427, allocations: 47.36 kB / 0.6006 GB, free: 3.742 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6427, allocations: 0 / 0.6006 GB, free: 3.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.6578, allocations: 3.43 MB / 0.604 GB, free: 404 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.658, allocations: 188 kB / 0.6042 GB, free: 172 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.362, allocations: 0 / 0.6042 GB, free: 172 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat