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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 183.3 kB / 8.136 MB, free: 2.223 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.165/1.165, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009497/0.0009497, allocations: 96.88 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.225e-06/8.245e-06, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08732/0.2931, allocations: 83.17 MB / 470.1 MB, free: 3.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.2933, allocations: 79.89 kB / 470.2 MB, free: 3.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06212/0.3554, allocations: 23.7 MB / 493.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.88e-05/0.3555, allocations: 39.94 kB / 493.9 MB, free: 11.78 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.003129/0.3587, allocations: 1.42 MB / 495.3 MB, free: 10.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3587, allocations: 12.03 kB / 495.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.3592, allocations: 162.1 kB / 495.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.3605, allocations: 0.7274 MB / 496.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.3606, allocations: 40 kB / 496.3 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.3608, allocations: 79.89 kB / 496.3 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/0.3627, allocations: 0.8289 MB / 497.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.3648, allocations: 1.016 MB / 498.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.3648, allocations: 1.031 kB / 498.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.3649, allocations: 0 / 498.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.365, allocations: 32 kB / 498.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008209/0.3732, allocations: 4.921 MB / 0.4914 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3744, allocations: 0.6682 MB / 0.492 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.3751, allocations: 438.2 kB / 0.4924 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.3751, allocations: 12.66 kB / 0.4924 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3752, allocations: 43.22 kB / 0.4925 GB, free: 1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.344e-06/0.3752, allocations: 0 / 0.4925 GB, free: 1 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.1532/0.5284, allocations: 1.043 MB / 0.4935 GB, free: 70.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5284, allocations: 84.64 kB / 0.4936 GB, free: 70.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.5292, allocations: 0.6027 MB / 0.4942 GB, free: 70.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.5293, allocations: 25.7 kB / 0.4942 GB, free: 70.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.5295, allocations: 0.4926 MB / 0.4947 GB, free: 70.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.5296, allocations: 276 kB / 0.4949 GB, free: 70.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.5297, allocations: 0 / 0.4949 GB, free: 70.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.5298, allocations: 407.3 kB / 0.4953 GB, free: 69.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.5302, allocations: 247.5 kB / 0.4956 GB, free: 69.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.5306, allocations: 483.6 kB / 0.496 GB, free: 69.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.531, allocations: 307.3 kB / 0.4963 GB, free: 69.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.531, allocations: 0 / 0.4963 GB, free: 69.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001757/0.5328, allocations: 1.048 MB / 0.4973 GB, free: 69.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5328, allocations: 6.312 kB / 0.4973 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5328, allocations: 10.41 kB / 0.4974 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.5332, allocations: 161.8 kB / 0.4975 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.5368, allocations: 1 MB / 0.4985 GB, free: 69.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/0.5434, allocations: 8.984 MB / 0.5073 GB, free: 61.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.5443, allocations: 131.7 kB / 0.5074 GB, free: 61.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.5444, allocations: 39.97 kB / 0.5074 GB, free: 61.78 MB / 378.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.0002145/0.5446, allocations: 139.6 kB / 0.5076 GB, free: 61.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.5447, allocations: 99.95 kB / 0.5076 GB, free: 61.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.5449, allocations: 88.75 kB / 0.5077 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5449, allocations: 7.281 kB / 0.5077 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5449, allocations: 0.75 kB / 0.5077 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5449, allocations: 10.06 kB / 0.5078 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.5482, allocations: 2.025 MB / 0.5097 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5482, allocations: 0 / 0.5097 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/0.5487, allocations: 128.5 kB / 0.5099 GB, free: 61.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.5493, allocations: 255.3 kB / 0.5101 GB, free: 61.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.5493, allocations: 13.81 kB / 0.5101 GB, free: 61.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006126/0.5555, allocations: 8.848 MB / 0.5187 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5555, allocations: 0 / 0.5187 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002587/0.5581, allocations: 1.569 MB / 0.5203 GB, free: 53.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.5583, allocations: 176.6 kB / 0.5204 GB, free: 53.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5584, allocations: 7.469 kB / 0.5205 GB, free: 53.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.5592, allocations: 110 kB / 0.5206 GB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/0.5593, allocations: 43.75 kB / 0.5206 GB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.5593, allocations: 22 kB / 0.5206 GB, free: 53.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004609/0.5598, allocations: 464.7 kB / 0.5211 GB, free: 53.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001097/0.5609, allocations: 325.7 kB / 0.5214 GB, free: 53.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001581/0.561, allocations: 112.9 kB / 0.5215 GB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005291/0.5663, allocations: 2.16 MB / 0.5236 GB, free: 52.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5664, allocations: 7.484 kB / 0.5236 GB, free: 52.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.5672, allocations: 0.9334 MB / 0.5245 GB, free: 51.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.5679, allocations: 141 kB / 0.5246 GB, free: 51.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.5725, allocations: 1.925 MB / 0.5265 GB, free: 51.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.5732, allocations: 1.151 MB / 0.5277 GB, free: 50.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5732, allocations: 0 / 0.5277 GB, free: 50.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01847/0.5917, allocations: 12.45 MB / 0.5398 GB, free: 44.56 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/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