Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001275/0.001275, allocations: 169.7 kB / 8.74 MB, free: 348 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.342/1.342, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008973/0.0008971, allocations: 96.88 kB / 281.6 MB, free: 5.27 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.2082/0.2082, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.888e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5569/0.6954, allocations: 88.23 MB / 0.5809 GB, free: 8.242 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.6958, allocations: 67.81 kB / 0.581 GB, free: 8.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.7134, allocations: 7.872 MB / 0.5887 GB, free: 316 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7135, allocations: 4 kB / 0.5887 GB, free: 312 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.7135, allocations: 4 kB / 0.5887 GB, free: 308 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006207/0.7141, allocations: 0.552 MB / 0.5892 GB, free: 15.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.7142, allocations: 19.98 kB / 0.5892 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.7143, allocations: 43.44 kB / 0.5893 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.7148, allocations: 331.2 kB / 0.5896 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.7148, allocations: 4 kB / 0.5896 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.7148, allocations: 3.828 kB / 0.5896 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.2e-05/0.7149, allocations: 23.97 kB / 0.5896 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.715, allocations: 45.69 kB / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7151, allocations: 0 / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7151, allocations: 0 / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7151, allocations: 0 / 0.5897 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.7157, allocations: 425.2 kB / 0.5901 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.7159, allocations: 34.56 kB / 0.5901 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.716, allocations: 16.86 kB / 0.5901 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.716, allocations: 0 / 0.5901 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.716, allocations: 34.56 kB / 0.5902 GB, free: 14.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.716, allocations: 0 / 0.5902 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005008/0.7165, allocations: 200 kB / 0.5904 GB, free: 14.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7166, allocations: 51.41 kB / 0.5904 GB, free: 14.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7177, allocations: 0.7551 MB / 0.5911 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.7178, allocations: 25.7 kB / 0.5912 GB, free: 13.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.7179, allocations: 212 kB / 0.5914 GB, free: 13.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7179, allocations: 15.81 kB / 0.5914 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.7179, allocations: 0 / 0.5914 GB, free: 13.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7181, allocations: 366.7 kB / 0.5917 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.7182, allocations: 8.844 kB / 0.5917 GB, free: 12.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.7182, allocations: 16 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.7182, allocations: 15.98 kB / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.7182, allocations: 0 / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001383/0.7184, allocations: 101.1 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7184, allocations: 4 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7184, allocations: 8 kB / 0.5919 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7184, allocations: 0 / 0.5919 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.7185, allocations: 16.23 kB / 0.5919 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7185, allocations: 3.938 kB / 0.5919 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.7186, allocations: 8 kB / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.7186, allocations: 4 kB / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.315e-05/0.7187, allocations: 104.9 kB / 0.592 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001458/0.7189, allocations: 105.1 kB / 0.5921 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.719, allocations: 39.53 kB / 0.5921 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.7192, allocations: 137.1 kB / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7192, allocations: 0 / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7192, allocations: 0 / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.7192, allocations: 3.953 kB / 0.5923 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000646/0.7198, allocations: 0.538 MB / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7199, allocations: 0 / 0.5928 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.7199, allocations: 23.92 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7199, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.72, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.72, allocations: 4 kB / 0.5928 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.72, allocations: 3.953 kB / 0.5928 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.7202, allocations: 187.1 kB / 0.593 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.7203, allocations: 168.5 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.7204, allocations: 0 / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7205, allocations: 12.23 kB / 0.5932 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.7205, allocations: 7.953 kB / 0.5932 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.7206, allocations: 4 kB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006153/0.7212, allocations: 0.6082 MB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7212, allocations: 0 / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.7215, allocations: 59.94 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001283/0.7228, allocations: 0.9606 MB / 0.5948 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.7229, allocations: 35.98 kB / 0.5948 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7229, allocations: 0 / 0.5948 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.723, allocations: 19.94 kB / 0.5948 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.7232, allocations: 26.08 kB / 0.5949 GB, free: 9.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.7245, allocations: 0.8213 MB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.725, allocations: 0.838 MB / 0.5965 GB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.7251, allocations: 44.02 kB / 0.5965 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.7253, allocations: 119.3 kB / 0.5966 GB, free: 7.832 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7253, allocations: 0 / 0.5966 GB, free: 7.832 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.7522, allocations: 5.863 MB / 0.6024 GB, free: 1.961 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7524, allocations: 164.8 kB / 0.6025 GB, free: 1.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.804, allocations: 0 / 0.6025 GB, free: 1.77 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat