Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 198.4 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.198/1.198, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008415/0.0008414, allocations: 112.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002062/0.0002063, allocations: 4 kB / 358 MB, free: 9.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1885, allocations: 51.49 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0869/0.2755, allocations: 81.97 MB / 491.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.2757, allocations: 87.94 kB / 491.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.2924, allocations: 6.479 MB / 498.1 MB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2924, allocations: 0 / 498.1 MB, free: 2.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.2924, allocations: 4 kB / 498.1 MB, free: 2.043 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009841/0.2934, allocations: 0.6392 MB / 498.7 MB, free: 1.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2934, allocations: 15.97 kB / 498.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.2935, allocations: 58.55 kB / 498.8 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.2936, allocations: 39.55 kB / 498.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.2939, allocations: 303.2 kB / 499.1 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2939, allocations: 16.56 kB / 499.1 MB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.294, allocations: 24 kB / 499.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.2946, allocations: 335.6 kB / 499.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2947, allocations: 0 / 499.5 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.2947, allocations: 12 kB / 499.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2947, allocations: 4 kB / 499.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.2955, allocations: 318 kB / 499.8 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.2972, allocations: 1.186 MB / 0.4892 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007738/0.298, allocations: 286.6 kB / 0.4895 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.298, allocations: 0 / 0.4895 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.2985, allocations: 205.7 kB / 0.4897 GB, free: 14.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2985, allocations: 0 / 0.4897 GB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002117/0.3006, allocations: 0.7177 MB / 0.4904 GB, free: 13.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3007, allocations: 106.8 kB / 0.4905 GB, free: 13.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.3009, allocations: 253.8 kB / 0.4908 GB, free: 13.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.301, allocations: 29.7 kB / 0.4908 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3011, allocations: 207.5 kB / 0.491 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3011, allocations: 39.67 kB / 0.491 GB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.3011, allocations: 7.938 kB / 0.491 GB, free: 12.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.3012, allocations: 336 kB / 0.4913 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3016, allocations: 120.4 kB / 0.4915 GB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.302, allocations: 216.9 kB / 0.4917 GB, free: 12.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3023, allocations: 157.6 kB / 0.4918 GB, free: 12.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3023, allocations: 0 / 0.4918 GB, free: 12.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001174/0.3035, allocations: 0.4996 MB / 0.4923 GB, free: 11.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.3036, allocations: 37.77 kB / 0.4923 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3036, allocations: 4 kB / 0.4923 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.3039, allocations: 88.8 kB / 0.4924 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.3041, allocations: 55.91 kB / 0.4925 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.3064, allocations: 1.842 MB / 0.4943 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3068, allocations: 67.8 kB / 0.4943 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3068, allocations: 8 kB / 0.4944 GB, free: 9.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.3069, allocations: 147.5 kB / 0.4945 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.307, allocations: 23.72 kB / 0.4945 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.307, allocations: 29.83 kB / 0.4945 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.307, allocations: 0 / 0.4945 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.307, allocations: 3.953 kB / 0.4945 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.307, allocations: 7.984 kB / 0.4946 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3073, allocations: 325.4 kB / 0.4949 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3073, allocations: 0 / 0.4949 GB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3075, allocations: 31.91 kB / 0.4949 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.3078, allocations: 92.92 kB / 0.495 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.3078, allocations: 0 / 0.495 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.3099, allocations: 1.722 MB / 0.4967 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.31, allocations: 11.88 kB / 0.4967 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.311, allocations: 405.4 kB / 0.4971 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.3111, allocations: 104.8 kB / 0.4972 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3112, allocations: 4 kB / 0.4972 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3114, allocations: 43.95 kB / 0.4972 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.3115, allocations: 19.97 kB / 0.4972 GB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3115, allocations: 11.94 kB / 0.4972 GB, free: 6.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3117, allocations: 198 kB / 0.4974 GB, free: 5.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3117, allocations: 0 / 0.4974 GB, free: 5.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3121, allocations: 83.78 kB / 0.4975 GB, free: 5.891 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/0.3135, allocations: 0.9402 MB / 0.4984 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.3144, allocations: 465.8 kB / 0.4989 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3144, allocations: 0 / 0.4989 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.3149, allocations: 251.1 kB / 0.4991 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.3151, allocations: 50.84 kB / 0.4992 GB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3185, allocations: 3.454 MB / 0.5025 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1416/0.4601, allocations: 0.7573 MB / 0.5033 GB, free: 95.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.4603, allocations: 25.39 kB / 0.5033 GB, free: 95.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4604, allocations: 80.39 kB / 0.5034 GB, free: 95.89 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4605, allocations: 1.656 kB / 0.5034 GB, free: 95.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.4783, allocations: 6.083 MB / 0.5093 GB, free: 95.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.4785, allocations: 214.1 kB / 0.5095 GB, free: 95.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.207, allocations: 0 / 0.5095 GB, free: 95.42 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat does not exist to compare? outputFormat=mat