Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 100.1 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.854e-05, allocations: 8 kB / 337.2 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 50.42 MB / 387.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.4879, allocations: 80.96 MB / 468.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4882, allocations: 83.95 kB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.5071, allocations: 6.872 MB / 475.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5071, allocations: 0 / 475.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.12e-05/0.5072, allocations: 12 kB / 475.5 MB, free: 6.75 MB / 346.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.001022/0.5082, allocations: 0.6184 MB / 476.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5082, allocations: 8.031 kB / 476.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.5083, allocations: 35.62 kB / 476.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.5087, allocations: 302 kB / 476.4 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5088, allocations: 8 kB / 476.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.5088, allocations: 23.92 kB / 476.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003572/0.5092, allocations: 197.5 kB / 476.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.5096, allocations: 266.5 kB / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5096, allocations: 0 / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.5097, allocations: 0 / 476.9 MB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5097, allocations: 8 kB / 476.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.5118, allocations: 1.262 MB / 478.2 MB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.512, allocations: 130.6 kB / 478.3 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.5122, allocations: 68.86 kB / 478.4 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.5122, allocations: 3.984 kB / 478.4 MB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.5125, allocations: 150.3 kB / 478.5 MB, free: 3.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.5125, allocations: 0 / 478.5 MB, free: 3.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007064/0.5132, allocations: 239.6 kB / 478.8 MB, free: 3.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.5133, allocations: 106.8 kB / 478.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.5135, allocations: 242.3 kB / 479.1 MB, free: 2.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.5136, allocations: 25.7 kB / 479.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5137, allocations: 211.6 kB / 479.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.5138, allocations: 47.3 kB / 479.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.5138, allocations: 4 kB / 479.4 MB, free: 2.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5139, allocations: 338.8 kB / 479.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.514, allocations: 60 kB / 479.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.5142, allocations: 164 kB / 480 MB, free: 1.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5144, allocations: 75.02 kB / 480 MB, free: 1.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5144, allocations: 0 / 480 MB, free: 1.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006909/0.5151, allocations: 338.1 kB / 480.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.5151, allocations: 35.11 kB / 480.4 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.5151, allocations: 7.984 kB / 480.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/0.5154, allocations: 48.84 kB / 480.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.5156, allocations: 67.95 kB / 480.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.5172, allocations: 1.479 MB / 482 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.5176, allocations: 67.73 kB / 482.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.5176, allocations: 12 kB / 482.1 MB, free: 15.73 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: derivative.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.0001511/0.5178, allocations: 112.9 kB / 482.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005359/0.5183, allocations: 251.5 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.5183, allocations: 23.72 kB / 482.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.5184, allocations: 25.91 kB / 482.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5184, allocations: 8 kB / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.5184, allocations: 3.938 kB / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5184, allocations: 0 / 482.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.5187, allocations: 290 kB / 482.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5187, allocations: 3.938 kB / 482.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.5189, allocations: 35.97 kB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.519, allocations: 60.81 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5191, allocations: 0 / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5204, allocations: 1.479 MB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5204, allocations: 3.953 kB / 484.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.5212, allocations: 344.2 kB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.5212, allocations: 100.8 kB / 484.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.5213, allocations: 12.05 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.5216, allocations: 35.97 kB / 484.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.5217, allocations: 19.97 kB / 484.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.5217, allocations: 7.984 kB / 484.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5218, allocations: 186 kB / 485 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5219, allocations: 0 / 485 MB, free: 12.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.5222, allocations: 87.69 kB / 485.1 MB, free: 12.46 MB / 362.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) * 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.000987/0.5232, allocations: 0.8826 MB / 486 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005058/0.5237, allocations: 331.7 kB / 486.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5238, allocations: 4.125 kB / 486.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.524, allocations: 201.4 kB / 486.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.5243, allocations: 32.55 kB / 486.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5253, allocations: 434.1 kB / 487 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.5257, allocations: 0.7757 MB / 487.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.5258, allocations: 30.05 kB / 487.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.526, allocations: 95.33 kB / 487.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.526, allocations: 0 / 487.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.5528, allocations: 5.641 MB / 493.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.553, allocations: 148.3 kB / 493.7 MB, free: 3.781 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.431, allocations: 0 / 493.7 MB, free: 3.781 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat