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.001461/0.001461, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.001005/0.001005, allocations: 90.23 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.901e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 50.42 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3359/0.4402, allocations: 81.62 MB / 476 MB, free: 5.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4405, allocations: 77.55 kB / 476.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01851/0.459, allocations: 6.95 MB / 483 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.459, allocations: 0 / 483 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.459, allocations: 4 kB / 483 MB, free: 14.78 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.0009814/0.46, allocations: 0.6222 MB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4601, allocations: 8.031 kB / 483.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/0.4602, allocations: 70.53 kB / 483.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.4602, allocations: 31.62 kB / 483.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.4606, allocations: 302.1 kB / 484 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4606, allocations: 28.44 kB / 484.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.4607, allocations: 28 kB / 484.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004788/0.4612, allocations: 300 kB / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4612, allocations: 0 / 484.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.4613, allocations: 19.98 kB / 484.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4613, allocations: 8 kB / 484.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.4616, allocations: 202.2 kB / 484.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.4638, allocations: 1.337 MB / 485.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.464, allocations: 131.6 kB / 486.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4642, allocations: 76.83 kB / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.4642, allocations: 4 kB / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.4645, allocations: 145.9 kB / 486.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.4645, allocations: 0 / 486.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006964/0.4652, allocations: 258.7 kB / 486.5 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.4653, allocations: 106.8 kB / 486.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.4656, allocations: 259.4 kB / 486.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4656, allocations: 29.7 kB / 486.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.4657, allocations: 211.7 kB / 487.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.4658, allocations: 51.3 kB / 487.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.4658, allocations: 8 kB / 487.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.466, allocations: 334.8 kB / 487.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4661, allocations: 64 kB / 487.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.4663, allocations: 168 kB / 487.7 MB, free: 9.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4665, allocations: 106.2 kB / 487.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4665, allocations: 0 / 487.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007586/0.4672, allocations: 398.3 kB / 488.2 MB, free: 9.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.4673, allocations: 34.95 kB / 488.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4673, allocations: 4 kB / 488.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.4675, allocations: 52.91 kB / 488.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.4678, allocations: 63.89 kB / 488.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.4696, allocations: 1.663 MB / 490.1 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.4699, allocations: 63.72 kB / 490.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.4699, allocations: 12 kB / 490.1 MB, free: 7.156 MB / 362.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 () * 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.0001003/0.4701, allocations: 119.7 kB / 490.2 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4701, allocations: 31.61 kB / 490.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.4702, allocations: 26 kB / 490.3 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4702, allocations: 3.984 kB / 490.3 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4702, allocations: 11.89 kB / 490.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4702, allocations: 0 / 490.3 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.4705, allocations: 337.4 kB / 490.6 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4705, allocations: 4 kB / 490.7 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4707, allocations: 39.97 kB / 490.7 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.4709, allocations: 56.75 kB / 490.7 MB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.4709, allocations: 4 kB / 490.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.4722, allocations: 1.535 MB / 492.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4723, allocations: 11.88 kB / 492.3 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.4729, allocations: 357.5 kB / 492.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.473, allocations: 108.7 kB / 492.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.4731, allocations: 4 kB / 492.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.4734, allocations: 44.02 kB / 492.8 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.4734, allocations: 23.97 kB / 492.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4735, allocations: 0 / 492.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.4737, allocations: 207.1 kB / 493 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4737, allocations: 0 / 493 MB, free: 4.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.474, allocations: 88.09 kB / 493.1 MB, free: 3.941 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.0009698/0.475, allocations: 0.9046 MB / 494 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.4755, allocations: 361.7 kB / 494.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4755, allocations: 0 / 494.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4758, allocations: 199.2 kB / 494.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.476, allocations: 48.81 kB / 494.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.4769, allocations: 461.5 kB / 495.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4772, allocations: 0.776 MB / 495.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.4773, allocations: 26.97 kB / 495.9 MB, free: 1.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.4775, allocations: 87.41 kB / 495.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4775, allocations: 3.938 kB / 496 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.4975, allocations: 6.491 MB / 0.4907 GB, free: 10.65 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.4977, allocations: 177 kB / 0.4908 GB, free: 10.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.377, allocations: 3.938 kB / 0.4908 GB, free: 10.43 MB / 378.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