Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.001035/0.001034, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.342/1.342, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 90.64 kB / 292.1 MB, free: 10.69 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.3372/0.3372, allocations: 44.21 MB / 387.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3646, allocations: 61.9 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4779, allocations: 88.05 MB / 0.5956 GB, free: 7.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4782, allocations: 79.91 kB / 0.5957 GB, free: 6.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.4885, allocations: 4.273 MB / 0.5999 GB, free: 2.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4885, allocations: 0 / 0.5999 GB, free: 2.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4885, allocations: 4 kB / 0.5999 GB, free: 2.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004088/0.489, allocations: 410.8 kB / 0.6003 GB, free: 2.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.489, allocations: 8.031 kB / 0.6003 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.489, allocations: 38.56 kB / 0.6003 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.4891, allocations: 11.84 kB / 0.6003 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.4893, allocations: 200 kB / 0.6005 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.4893, allocations: 8 kB / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4894, allocations: 11.94 kB / 0.6005 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4895, allocations: 45.69 kB / 0.6006 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4895, allocations: 7.844 kB / 0.6006 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4895, allocations: 8 kB / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4895, allocations: 0 / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.4896, allocations: 35.95 kB / 0.6006 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.49, allocations: 300.8 kB / 0.6009 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4901, allocations: 46.5 kB / 0.601 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4902, allocations: 0 / 0.601 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.4902, allocations: 38.56 kB / 0.601 GB, free: 1.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4902, allocations: 0 / 0.601 GB, free: 1.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008334/0.491, allocations: 245.2 kB / 0.6012 GB, free: 1.121 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4911, allocations: 51.41 kB / 0.6013 GB, free: 1.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.4912, allocations: 183.1 kB / 0.6015 GB, free: 0.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4913, allocations: 29.7 kB / 0.6015 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4913, allocations: 112 kB / 0.6016 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.4914, allocations: 23.66 kB / 0.6016 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.4914, allocations: 0 / 0.6016 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.4915, allocations: 330.8 kB / 0.6019 GB, free: 380 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.4916, allocations: 23.98 kB / 0.6019 GB, free: 356 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.4916, allocations: 27.98 kB / 0.602 GB, free: 328 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.4917, allocations: 31.98 kB / 0.602 GB, free: 296 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4917, allocations: 3.938 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001909/0.4919, allocations: 117.5 kB / 0.6021 GB, free: 168 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4919, allocations: 9.406 kB / 0.6021 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4919, allocations: 0 / 0.6021 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.492, allocations: 3.938 kB / 0.6021 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.4921, allocations: 19.98 kB / 0.6022 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4921, allocations: 0 / 0.6022 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.4921, allocations: 4 kB / 0.6022 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.4921, allocations: 4 kB / 0.6022 GB, free: 128 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001016/0.4923, allocations: 138.2 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.4923, allocations: 11.91 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.4925, allocations: 118.7 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4926, allocations: 4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4926, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4926, allocations: 7.938 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.4931, allocations: 427.2 kB / 0.6028 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.4931, allocations: 4 kB / 0.6028 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.655e-05/0.4932, allocations: 20.02 kB / 0.6029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4932, allocations: 4 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4932, allocations: 4 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4932, allocations: 3.938 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4932, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4935, allocations: 222 kB / 0.6031 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.4935, allocations: 93.02 kB / 0.6032 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4936, allocations: 0 / 0.6032 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.4936, allocations: 11.98 kB / 0.6032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4937, allocations: 7.953 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.4937, allocations: 4 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4938, allocations: 164 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4938, allocations: 0 / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.4941, allocations: 27.91 kB / 0.6034 GB, free: 14.76 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001463/0.4955, allocations: 1.189 MB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4957, allocations: 67.91 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4957, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.4958, allocations: 39.97 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4961, allocations: 21.84 kB / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.4972, allocations: 0.7573 MB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.4975, allocations: 0.7158 MB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.4976, allocations: 16.91 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.4977, allocations: 35.42 kB / 0.6062 GB, free: 11.99 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4977, allocations: 0 / 0.6062 GB, free: 11.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.5126, allocations: 2.655 MB / 0.6087 GB, free: 9.453 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5128, allocations: 209.2 kB / 0.6089 GB, free: 9.215 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.028, allocations: 0 / 0.6089 GB, free: 9.215 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat