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.001466/0.001466, allocations: 176.7 kB / 17.4 MB, free: 4.277 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.59/1.59, allocations: 223.3 MB / 241.4 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008645/0.0008643, allocations: 89.42 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 11.94 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.3919, allocations: 84.04 MB / 486.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.3923, allocations: 80.45 kB / 486.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0674/0.4597, allocations: 23.99 MB / 0.4989 GB, free: 4.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4597, allocations: 0 / 0.4989 GB, free: 4.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.4599, allocations: 32 kB / 0.4989 GB, free: 4.098 MB / 378.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.00397/0.4638, allocations: 1.505 MB / 0.5004 GB, free: 2.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4639, allocations: 8.031 kB / 0.5004 GB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.4645, allocations: 159.1 kB / 0.5005 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.4662, allocations: 0.764 MB / 0.5013 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.4664, allocations: 94.44 kB / 0.5014 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.4667, allocations: 120 kB / 0.5015 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.325/0.7916, allocations: 1.324 MB / 0.5028 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.7918, allocations: 0.6094 kB / 0.5028 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005025/0.7923, allocations: 47.09 kB / 0.5028 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.7924, allocations: 30 kB / 0.5029 GB, free: 89.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.7967, allocations: 1.151 MB / 0.504 GB, free: 89.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.807, allocations: 5.108 MB / 0.509 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.8093, allocations: 1.262 MB / 0.5102 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.8104, allocations: 0.5445 MB / 0.5107 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.8104, allocations: 13.94 kB / 0.5108 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.8105, allocations: 42.12 kB / 0.5108 GB, free: 87.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.905e-06/0.8105, allocations: 0 / 0.5108 GB, free: 87.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.008007/0.8185, allocations: 3.179 MB / 0.5139 GB, free: 86.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.8186, allocations: 86.88 kB / 0.514 GB, free: 86.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8198, allocations: 0.8141 MB / 0.5148 GB, free: 86.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.82, allocations: 43.05 kB / 0.5148 GB, free: 86.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.8203, allocations: 0.5878 MB / 0.5154 GB, free: 85.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.8205, allocations: 281.9 kB / 0.5157 GB, free: 85.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.8206, allocations: 19.53 kB / 0.5157 GB, free: 85.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.8206, allocations: 346.1 kB / 0.516 GB, free: 85.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.8215, allocations: 389.5 kB / 0.5164 GB, free: 85.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.8224, allocations: 0.6168 MB / 0.517 GB, free: 84.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.8241, allocations: 1.002 MB / 0.518 GB, free: 84.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8241, allocations: 11.81 kB / 0.518 GB, free: 84.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002928/0.827, allocations: 1.423 MB / 0.5194 GB, free: 83.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.8271, allocations: 12.69 kB / 0.5194 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.8271, allocations: 3.875 kB / 0.5194 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.8279, allocations: 233.8 kB / 0.5196 GB, free: 83.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.8311, allocations: 0.9364 MB / 0.5205 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.8415, allocations: 10.21 MB / 0.5305 GB, free: 75.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.8429, allocations: 160 kB / 0.5306 GB, free: 74.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-05/0.843, allocations: 41.64 kB / 0.5307 GB, free: 74.96 MB / 378.7 MB 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 () * Number of clocked 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.0007721/0.8438, allocations: 281.3 kB / 0.531 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.844, allocations: 102 kB / 0.531 GB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.8442, allocations: 108.2 kB / 0.5312 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.8442, allocations: 8.812 kB / 0.5312 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/0.8442, allocations: 0 / 0.5312 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8443, allocations: 3.516 kB / 0.5312 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.8492, allocations: 2.533 MB / 0.5336 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.8493, allocations: 0 / 0.5336 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.8498, allocations: 128.6 kB / 0.5338 GB, free: 73.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.8511, allocations: 442.6 kB / 0.5342 GB, free: 72.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.8511, allocations: 19.89 kB / 0.5342 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009502/0.8607, allocations: 10.12 MB / 0.5441 GB, free: 62.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8607, allocations: 9.984 kB / 0.5441 GB, free: 62.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.8649, allocations: 2.039 MB / 0.5461 GB, free: 60.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.8653, allocations: 186.8 kB / 0.5463 GB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.8654, allocations: 12 kB / 0.5463 GB, free: 60.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.8662, allocations: 126.2 kB / 0.5464 GB, free: 60.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.8663, allocations: 65.64 kB / 0.5465 GB, free: 60.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.8664, allocations: 24 kB / 0.5465 GB, free: 60.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006309/0.867, allocations: 0.5455 MB / 0.547 GB, free: 59.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.867, allocations: 0 / 0.547 GB, free: 59.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001345/0.8684, allocations: 365.1 kB / 0.5474 GB, free: 59.27 MB / 378.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 () * Number of clocked 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.0002142/0.8686, allocations: 131 kB / 0.5475 GB, free: 59.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005037/0.8737, allocations: 2.132 MB / 0.5496 GB, free: 57.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8737, allocations: 9.219 kB / 0.5496 GB, free: 57.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8751, allocations: 1.171 MB / 0.5507 GB, free: 56.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.8765, allocations: 192.2 kB / 0.5509 GB, free: 55.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.8821, allocations: 2.96 MB / 0.5538 GB, free: 53.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.8827, allocations: 1.073 MB / 0.5548 GB, free: 52.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.8833, allocations: 111.5 kB / 0.5549 GB, free: 52.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.8835, allocations: 59.44 kB / 0.555 GB, free: 52.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.8835, allocations: 0 / 0.555 GB, free: 52.18 MB / 378.7 MB Notification: Performance of Templates: time 0.02088/0.9044, allocations: 13.12 MB / 0.5678 GB, free: 39.94 MB / 378.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/jenkins1/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