Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009967/0.0009968, allocations: 202.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008355, allocations: 108.3 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002126/0.0002127, allocations: 11.98 kB / 358 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1875, allocations: 51.47 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0862/0.2737, allocations: 80.69 MB / 490.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.274, allocations: 85.12 kB / 490.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.2901, allocations: 6.004 MB / 496.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2901, allocations: 0 / 496.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.2901, allocations: 8 kB / 496.3 MB, free: 3.793 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009842/0.2911, allocations: 0.6188 MB / 496.9 MB, free: 3.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2911, allocations: 8.031 kB / 496.9 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.2912, allocations: 62.53 kB / 497 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.2913, allocations: 35.62 kB / 497 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2916, allocations: 267.4 kB / 497.3 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2916, allocations: 20.56 kB / 497.3 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.2917, allocations: 24 kB / 497.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.2923, allocations: 307.4 kB / 497.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2923, allocations: 0 / 497.6 MB, free: 2.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2923, allocations: 12 kB / 497.6 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2923, allocations: 4 kB / 497.6 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007654/0.2931, allocations: 285.4 kB / 497.9 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2947, allocations: 1.12 MB / 499 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.2955, allocations: 238.5 kB / 499.3 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2955, allocations: 4.031 kB / 499.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/0.296, allocations: 182 kB / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.296, allocations: 0 / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001859/0.2978, allocations: 0.5379 MB / 500 MB, free: 15.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2979, allocations: 106.8 kB / 0.4884 GB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2982, allocations: 249.9 kB / 0.4886 GB, free: 15.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2982, allocations: 25.7 kB / 0.4886 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2983, allocations: 211.4 kB / 0.4888 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.2984, allocations: 39.45 kB / 0.4889 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.2984, allocations: 11.94 kB / 0.4889 GB, free: 15.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2985, allocations: 330.8 kB / 0.4892 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2988, allocations: 108.1 kB / 0.4893 GB, free: 14.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.2992, allocations: 218.1 kB / 0.4895 GB, free: 14.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2996, allocations: 146.5 kB / 0.4896 GB, free: 14.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2996, allocations: 0 / 0.4896 GB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001136/0.3007, allocations: 447.6 kB / 0.4901 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.3007, allocations: 33.7 kB / 0.4901 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3008, allocations: 0 / 0.4901 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.3011, allocations: 76.89 kB / 0.4902 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.3013, allocations: 51.91 kB / 0.4902 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.3033, allocations: 1.62 MB / 0.4918 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.3037, allocations: 51.72 kB / 0.4918 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.3037, allocations: 16 kB / 0.4919 GB, free: 11.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3039, allocations: 156.8 kB / 0.492 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.3039, allocations: 23.72 kB / 0.492 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.304, allocations: 25.7 kB / 0.4921 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.304, allocations: 0 / 0.4921 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.304, allocations: 7.953 kB / 0.4921 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.304, allocations: 0 / 0.4921 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.3042, allocations: 301.4 kB / 0.4924 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3043, allocations: 3.938 kB / 0.4924 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3044, allocations: 27.92 kB / 0.4924 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.3046, allocations: 64.8 kB / 0.4924 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.3047, allocations: 11.98 kB / 0.4925 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.3066, allocations: 1.597 MB / 0.494 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.3066, allocations: 7.984 kB / 0.494 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009265/0.3075, allocations: 337.4 kB / 0.4943 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3076, allocations: 112.8 kB / 0.4945 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3077, allocations: 4 kB / 0.4945 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.3079, allocations: 35.97 kB / 0.4945 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.308, allocations: 23.95 kB / 0.4945 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.308, allocations: 8 kB / 0.4945 GB, free: 8.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.3082, allocations: 198 kB / 0.4947 GB, free: 8.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3082, allocations: 0 / 0.4947 GB, free: 8.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003087/0.3085, allocations: 75.84 kB / 0.4948 GB, free: 8.637 MB / 378.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.3098, allocations: 0.8776 MB / 0.4956 GB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008599/0.3106, allocations: 437.8 kB / 0.4961 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3106, allocations: 0 / 0.4961 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.3111, allocations: 235.2 kB / 0.4963 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3113, allocations: 44.81 kB / 0.4963 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.3149, allocations: 3.649 MB / 0.4999 GB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3152, allocations: 0.756 MB / 0.5006 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000115/0.3154, allocations: 30.27 kB / 0.5007 GB, free: 2.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3155, allocations: 79.41 kB / 0.5007 GB, free: 2.344 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3155, allocations: 4 kB / 0.5007 GB, free: 2.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1615/0.477, allocations: 5.967 MB / 0.5066 GB, free: 95.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.4772, allocations: 208.3 kB / 0.5068 GB, free: 95.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.215, allocations: 0 / 0.5068 GB, free: 95.4 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat does not exist to compare? outputFormat=mat