Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 176.4 kB / 8.346 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.3/1.3, allocations: 221.5 MB / 230.3 MB, free: 7.559 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.0008468/0.0008468, allocations: 97.83 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.786e-05, allocations: 8 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09288, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2923/0.3852, allocations: 83.26 MB / 470.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3855, allocations: 75.95 kB / 470.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05838/0.4439, allocations: 23.75 MB / 494.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4439, allocations: 0 / 494.5 MB, free: 3.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.426e-05/0.444, allocations: 35.98 kB / 494.6 MB, free: 3.613 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.002479/0.4465, allocations: 1.393 MB / 496 MB, free: 2.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4466, allocations: 15.92 kB / 496 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.4468, allocations: 163.4 kB / 496.1 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.4478, allocations: 0.7196 MB / 496.9 MB, free: 1.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.4478, allocations: 39.98 kB / 496.9 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4479, allocations: 72 kB / 497 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/0.4493, allocations: 0.8367 MB / 497.8 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.451, allocations: 1 MB / 498.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.451, allocations: 7.922 kB / 498.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.4511, allocations: 4 kB / 498.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.4511, allocations: 28 kB / 498.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.4582, allocations: 4.886 MB / 0.4919 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4594, allocations: 0.9171 MB / 0.4928 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.46, allocations: 414.8 kB / 0.4932 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.46, allocations: 12.77 kB / 0.4932 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.4601, allocations: 51.28 kB / 0.4933 GB, free: 8.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.036e-06/0.4601, allocations: 0 / 0.4933 GB, free: 8.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.002503/0.4626, allocations: 1.015 MB / 0.4943 GB, free: 7.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4627, allocations: 85.89 kB / 0.4944 GB, free: 7.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.4634, allocations: 0.6056 MB / 0.495 GB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.4635, allocations: 29.64 kB / 0.495 GB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.4639, allocations: 0.6074 MB / 0.4956 GB, free: 6.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.4641, allocations: 271.9 kB / 0.4958 GB, free: 5.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.4641, allocations: 4 kB / 0.4958 GB, free: 5.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4643, allocations: 402.7 kB / 0.4962 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.4647, allocations: 242.6 kB / 0.4965 GB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.4652, allocations: 477.8 kB / 0.4969 GB, free: 4.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.4657, allocations: 317.9 kB / 0.4972 GB, free: 4.441 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4657, allocations: 4 kB / 0.4972 GB, free: 4.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001852/0.4675, allocations: 1.029 MB / 0.4982 GB, free: 3.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4676, allocations: 9.25 kB / 0.4982 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4676, allocations: 8 kB / 0.4982 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.468, allocations: 162.5 kB / 0.4984 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.4718, allocations: 0.9365 MB / 0.4993 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.4796, allocations: 8.922 MB / 0.508 GB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/0.4805, allocations: 127 kB / 0.5081 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.4806, allocations: 43.98 kB / 0.5082 GB, free: 8.492 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feedbackA.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: addA.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: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.4809, allocations: 142.4 kB / 0.5083 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.481, allocations: 86.97 kB / 0.5084 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4813, allocations: 96.47 kB / 0.5085 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4813, allocations: 8 kB / 0.5085 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4813, allocations: 0 / 0.5085 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4813, allocations: 3.984 kB / 0.5085 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.4849, allocations: 2.035 MB / 0.5105 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4849, allocations: 8.031 kB / 0.5105 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.4855, allocations: 127.8 kB / 0.5106 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005468/0.486, allocations: 269 kB / 0.5109 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.4861, allocations: 4 kB / 0.5109 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007685/0.4938, allocations: 8.907 MB / 0.5196 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.4938, allocations: 4.031 kB / 0.5196 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.4967, allocations: 1.576 MB / 0.5211 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.497, allocations: 171.9 kB / 0.5213 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4971, allocations: 7.984 kB / 0.5213 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.4979, allocations: 103.9 kB / 0.5214 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4981, allocations: 68.36 kB / 0.5215 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.4981, allocations: 24 kB / 0.5215 GB, free: 10.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005995/0.4987, allocations: 463.2 kB / 0.5219 GB, free: 9.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4987, allocations: 4 kB / 0.5219 GB, free: 9.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001201/0.4999, allocations: 330.8 kB / 0.5222 GB, free: 9.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 5 {1 5,1 5,1 1,1 7,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.5001, allocations: 111.1 kB / 0.5223 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.5044, allocations: 1.662 MB / 0.524 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5044, allocations: 4.125 kB / 0.524 GB, free: 7.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5055, allocations: 0.9964 MB / 0.5249 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.5062, allocations: 147.2 kB / 0.5251 GB, free: 6.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004185/0.5104, allocations: 1.891 MB / 0.5269 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.511, allocations: 1.105 MB / 0.528 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000385/0.5114, allocations: 91.11 kB / 0.5281 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.5116, allocations: 59.44 kB / 0.5282 GB, free: 3 MB / 410.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5116, allocations: 0 / 0.5282 GB, free: 3 MB / 410.7 MB Notification: Performance of Templates: time 0.01943/0.531, allocations: 11.38 MB / 0.5393 GB, free: 7.711 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches