Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001297/0.001297, allocations: 171.2 kB / 8.739 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.524/1.524, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0008554/0.0008554, allocations: 86.84 kB / 281.6 MB, free: 5.266 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.2375/0.2375, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.164e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1719, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5024/0.6744, allocations: 88.79 MB / 0.5815 GB, free: 7.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.6747, allocations: 71.97 kB / 0.5815 GB, free: 7.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.6983, allocations: 9.226 MB / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6983, allocations: 0 / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.6984, allocations: 15.98 kB / 0.5906 GB, free: 14.23 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008048/0.6992, allocations: 0.6454 MB / 0.5912 GB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6993, allocations: 11.98 kB / 0.5912 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.6994, allocations: 59.25 kB / 0.5913 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.7001, allocations: 471 kB / 0.5917 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.7001, allocations: 4 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.7001, allocations: 8 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001547/0.7003, allocations: 55.98 kB / 0.5918 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.7005, allocations: 122 kB / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7005, allocations: 0 / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.7006, allocations: 4 kB / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7006, allocations: 0 / 0.5919 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.7016, allocations: 0.6962 MB / 0.5926 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.7018, allocations: 109.2 kB / 0.5927 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.7019, allocations: 41.83 kB / 0.5927 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.7019, allocations: 8 kB / 0.5927 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.7019, allocations: 38.45 kB / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.702, allocations: 0 / 0.5928 GB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001293/0.7033, allocations: 0.5175 MB / 0.5933 GB, free: 11.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7033, allocations: 81.05 kB / 0.5934 GB, free: 11.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.7042, allocations: 0.756 MB / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7042, allocations: 25.7 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.7044, allocations: 256.3 kB / 0.5944 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.7045, allocations: 63.02 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.7045, allocations: 4 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7046, allocations: 370.8 kB / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.7047, allocations: 55.95 kB / 0.5948 GB, free: 9.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.7049, allocations: 73.7 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.705, allocations: 51.98 kB / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.705, allocations: 0 / 0.5949 GB, free: 9.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003617/0.7053, allocations: 225.1 kB / 0.5952 GB, free: 9.285 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7054, allocations: 4 kB / 0.5952 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7054, allocations: 8 kB / 0.5952 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7054, allocations: 224 / 0.5952 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.7057, allocations: 59.95 kB / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7057, allocations: 15.86 kB / 0.5952 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.7059, allocations: 27.98 kB / 0.5953 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.706, allocations: 7.984 kB / 0.5953 GB, free: 9.164 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.803e-05/0.7061, allocations: 108.9 kB / 0.5954 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003499/0.7064, allocations: 220.8 kB / 0.5956 GB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7065, allocations: 59.34 kB / 0.5957 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.707, allocations: 270.2 kB / 0.5959 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.707, allocations: 4 kB / 0.5959 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.707, allocations: 0 / 0.5959 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.707, allocations: 0 / 0.5959 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.7081, allocations: 0.8535 MB / 0.5967 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7081, allocations: 0 / 0.5967 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.7084, allocations: 63.94 kB / 0.5968 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7084, allocations: 0 / 0.5968 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.7084, allocations: 4 kB / 0.5968 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7084, allocations: 3.953 kB / 0.5968 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7084, allocations: 4 kB / 0.5968 GB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.7089, allocations: 414.5 kB / 0.5972 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.7091, allocations: 188.3 kB / 0.5974 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.7091, allocations: 0 / 0.5974 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.7094, allocations: 27.98 kB / 0.5974 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.7095, allocations: 19.92 kB / 0.5974 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.7095, allocations: 11.98 kB / 0.5975 GB, free: 6.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006434/0.7101, allocations: 0.5926 MB / 0.598 GB, free: 6.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7101, allocations: 0 / 0.598 GB, free: 6.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.7105, allocations: 75.94 kB / 0.5981 GB, free: 6.172 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001507/0.7121, allocations: 1.251 MB / 0.5993 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.7124, allocations: 151.9 kB / 0.5995 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7124, allocations: 0 / 0.5995 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.7125, allocations: 83.92 kB / 0.5996 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.713, allocations: 71.16 kB / 0.5996 GB, free: 4.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.7147, allocations: 0.8442 MB / 0.6004 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.7152, allocations: 0.8696 MB / 0.6013 GB, free: 2.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.7155, allocations: 95.2 kB / 0.6014 GB, free: 2.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7158, allocations: 183.3 kB / 0.6016 GB, free: 2.609 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7158, allocations: 0 / 0.6016 GB, free: 2.609 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.7458, allocations: 8.458 MB / 0.6098 GB, free: 10.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.7461, allocations: 164.8 kB / 0.61 GB, free: 9.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.928, allocations: 0 / 0.61 GB, free: 9.973 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat