Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 197.5 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.191/1.191, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008171/0.000817, allocations: 95.03 kB / 297.3 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002088, allocations: 8 kB / 358 MB, free: 9.254 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1824, allocations: 51.49 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08804/0.2705, allocations: 82.48 MB / 492 MB, free: 8.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.2708, allocations: 83.95 kB / 492.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.2887, allocations: 6.981 MB / 499.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2887, allocations: 0 / 499.1 MB, free: 1.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.2887, allocations: 8 kB / 499.1 MB, free: 1.051 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.001044/0.2898, allocations: 0.6686 MB / 499.7 MB, free: 336 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2898, allocations: 12.02 kB / 499.7 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.2899, allocations: 62.55 kB / 499.8 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.703e-05/0.29, allocations: 35.62 kB / 499.8 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.2904, allocations: 306.3 kB / 0.4884 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.2904, allocations: 24.56 kB / 0.4884 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.2904, allocations: 28 kB / 0.4885 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.2911, allocations: 363.6 kB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2912, allocations: 3.938 kB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.2912, allocations: 8 kB / 0.4888 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2912, allocations: 8 kB / 0.4888 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.292, allocations: 326 kB / 0.4891 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2941, allocations: 1.326 MB / 0.4904 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.2947, allocations: 262.3 kB / 0.4907 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2948, allocations: 0 / 0.4907 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.2952, allocations: 207.3 kB / 0.4909 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.2952, allocations: 4 kB / 0.4909 GB, free: 13.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002196/0.2974, allocations: 0.7527 MB / 0.4916 GB, free: 12.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2975, allocations: 106.8 kB / 0.4917 GB, free: 12.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.2978, allocations: 266.1 kB / 0.492 GB, free: 12.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2978, allocations: 33.7 kB / 0.492 GB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2979, allocations: 207.5 kB / 0.4922 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.298, allocations: 47.36 kB / 0.4923 GB, free: 11.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.298, allocations: 4 kB / 0.4923 GB, free: 11.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2981, allocations: 346.7 kB / 0.4926 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.2985, allocations: 127.9 kB / 0.4927 GB, free: 11.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.2989, allocations: 223.9 kB / 0.4929 GB, free: 11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.2993, allocations: 175.8 kB / 0.4931 GB, free: 10.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2993, allocations: 4 kB / 0.4931 GB, free: 10.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001209/0.3005, allocations: 0.5036 MB / 0.4936 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.3006, allocations: 37.7 kB / 0.4936 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3006, allocations: 4 kB / 0.4936 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.3009, allocations: 92.8 kB / 0.4937 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3012, allocations: 67.89 kB / 0.4938 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.3035, allocations: 1.873 MB / 0.4956 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.3039, allocations: 71.7 kB / 0.4957 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.3039, allocations: 12 kB / 0.4957 GB, free: 8 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 (26): * Single equations (assignments): 24 * 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.0001494/0.3041, allocations: 152.7 kB / 0.4958 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3041, allocations: 27.67 kB / 0.4959 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.3042, allocations: 29.86 kB / 0.4959 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3042, allocations: 0 / 0.4959 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3042, allocations: 0 / 0.4959 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3042, allocations: 0 / 0.4959 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3045, allocations: 345.3 kB / 0.4962 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3045, allocations: 4 kB / 0.4962 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.3047, allocations: 31.97 kB / 0.4963 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.305, allocations: 92.8 kB / 0.4963 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.305, allocations: 3.953 kB / 0.4963 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.3071, allocations: 1.749 MB / 0.4981 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3071, allocations: 0 / 0.4981 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3085, allocations: 0.5482 MB / 0.4986 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3086, allocations: 100.7 kB / 0.4987 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3086, allocations: 7.984 kB / 0.4987 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3089, allocations: 44.03 kB / 0.4987 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.3089, allocations: 19.97 kB / 0.4988 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.309, allocations: 4 kB / 0.4988 GB, free: 4.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3092, allocations: 221.8 kB / 0.499 GB, free: 4.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3092, allocations: 0 / 0.499 GB, free: 4.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.3095, allocations: 92.03 kB / 0.4991 GB, free: 4.312 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.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 (11): * Single equations (assignments): 8 * 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.001707/0.3113, allocations: 1.08 MB / 0.5001 GB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000943/0.3122, allocations: 480.8 kB / 0.5006 GB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3122, allocations: 0 / 0.5006 GB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.3127, allocations: 254.6 kB / 0.5008 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.313, allocations: 56.73 kB / 0.5009 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1426/0.4556, allocations: 3.632 MB / 0.5044 GB, free: 95.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.4558, allocations: 0.773 MB / 0.5052 GB, free: 94.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.456, allocations: 29.19 kB / 0.5052 GB, free: 94.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4561, allocations: 94.59 kB / 0.5053 GB, free: 94.61 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4561, allocations: 0 / 0.5053 GB, free: 94.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.4736, allocations: 6.52 MB / 0.5117 GB, free: 94.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.4738, allocations: 214.7 kB / 0.5119 GB, free: 94.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.238, allocations: 4 kB / 0.5119 GB, free: 94.08 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat