Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009813/0.0009813, allocations: 202.6 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008253/0.0008253, allocations: 97.06 kB / 297.2 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002024, allocations: 8 kB / 358 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1726, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08811/0.2608, allocations: 82.49 MB / 492 MB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.261, allocations: 87.94 kB / 492.1 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.2797, allocations: 7.021 MB / 499.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2797, allocations: 0 / 499.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.2798, allocations: 8 kB / 499.1 MB, free: 0.9414 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001093/0.2809, allocations: 0.6725 MB / 499.8 MB, free: 220 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2809, allocations: 11.97 kB / 499.8 MB, free: 208 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/0.281, allocations: 62.53 kB / 499.9 MB, free: 136 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.2811, allocations: 35.62 kB / 499.9 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.2814, allocations: 306.4 kB / 0.4885 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2815, allocations: 24.56 kB / 0.4885 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2815, allocations: 35.88 kB / 0.4885 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.2822, allocations: 359.6 kB / 0.4889 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2823, allocations: 0 / 0.4889 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.2823, allocations: 12 kB / 0.4889 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2823, allocations: 4 kB / 0.4889 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.2831, allocations: 338 kB / 0.4892 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.2853, allocations: 1.304 MB / 0.4905 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007902/0.2861, allocations: 374.5 kB / 0.4908 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2862, allocations: 288 / 0.4908 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005063/0.2867, allocations: 217.3 kB / 0.491 GB, free: 12.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2867, allocations: 4 kB / 0.491 GB, free: 12.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002098/0.2888, allocations: 0.7163 MB / 0.4917 GB, free: 12.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.2889, allocations: 102.8 kB / 0.4918 GB, free: 12.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.2891, allocations: 270 kB / 0.4921 GB, free: 11.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2892, allocations: 33.7 kB / 0.4921 GB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2893, allocations: 207.9 kB / 0.4923 GB, free: 11.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.2894, allocations: 59.19 kB / 0.4924 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.2894, allocations: 7.938 kB / 0.4924 GB, free: 11.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.2895, allocations: 334.8 kB / 0.4927 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.2899, allocations: 140.1 kB / 0.4929 GB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.2903, allocations: 229.2 kB / 0.4931 GB, free: 10.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.2907, allocations: 177.5 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2907, allocations: 4 kB / 0.4932 GB, free: 10.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001227/0.2919, allocations: 0.5101 MB / 0.4937 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.292, allocations: 41.64 kB / 0.4938 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.292, allocations: 0 / 0.4938 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.2923, allocations: 68.83 kB / 0.4938 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.2926, allocations: 79.91 kB / 0.4939 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.295, allocations: 1.767 MB / 0.4956 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.2953, allocations: 63.91 kB / 0.4957 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2954, allocations: 19.94 kB / 0.4957 GB, free: 7.898 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 (31): * Single equations (assignments): 29 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/0.2956, allocations: 153.7 kB / 0.4959 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.2956, allocations: 31.7 kB / 0.4959 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.2957, allocations: 26.22 kB / 0.4959 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2957, allocations: 3.984 kB / 0.4959 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2957, allocations: 4 kB / 0.4959 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.2957, allocations: 0 / 0.4959 GB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2972, allocations: 0.8317 MB / 0.4968 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2972, allocations: 3.938 kB / 0.4968 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.2974, allocations: 47.97 kB / 0.4968 GB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.2976, allocations: 68.84 kB / 0.4969 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2977, allocations: 4 kB / 0.4969 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.2994, allocations: 1.573 MB / 0.4984 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2994, allocations: 7.984 kB / 0.4984 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.3008, allocations: 0.6272 MB / 0.499 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.3009, allocations: 108.8 kB / 0.4991 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.3009, allocations: 7.953 kB / 0.4991 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.3012, allocations: 48.02 kB / 0.4992 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3013, allocations: 23.97 kB / 0.4992 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3013, allocations: 4 kB / 0.4992 GB, free: 4.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.3015, allocations: 206 kB / 0.4994 GB, free: 3.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3015, allocations: 3.938 kB / 0.4994 GB, free: 3.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004003/0.3019, allocations: 79.84 kB / 0.4995 GB, free: 3.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001672/0.3036, allocations: 1.258 MB / 0.5007 GB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.3048, allocations: 0.5409 MB / 0.5012 GB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3048, allocations: 0 / 0.5012 GB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.3053, allocations: 255.2 kB / 0.5015 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3056, allocations: 52.86 kB / 0.5015 GB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1399/0.4455, allocations: 3.847 MB / 0.5053 GB, free: 94.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.4457, allocations: 0.7709 MB / 0.506 GB, free: 93.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.4459, allocations: 29.16 kB / 0.5061 GB, free: 93.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4461, allocations: 96.8 kB / 0.5062 GB, free: 93.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4461, allocations: 0 / 0.5062 GB, free: 93.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.4644, allocations: 6.296 MB / 0.5123 GB, free: 93.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.4646, allocations: 223.8 kB / 0.5125 GB, free: 93.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.283, allocations: 0 / 0.5125 GB, free: 93.04 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat