Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001041/0.001041, allocations: 203.1 kB / 8.543 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009854/0.0009852, allocations: 90.8 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.297e-06, allocations: 4 kB / 343.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09269, allocations: 51.48 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/0.3392, allocations: 83.99 MB / 478.6 MB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.3395, allocations: 79.17 kB / 478.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05679/0.3963, allocations: 23.73 MB / 0.4907 GB, free: 5.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.625e-05/0.3964, allocations: 32 kB / 0.4907 GB, free: 5.438 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.002755/0.3991, allocations: 1.442 MB / 0.4921 GB, free: 4.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3992, allocations: 8.031 kB / 0.4921 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.3995, allocations: 158.1 kB / 0.4923 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4007, allocations: 0.7236 MB / 0.493 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.4008, allocations: 51.89 kB / 0.493 GB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.4009, allocations: 71.28 kB / 0.4931 GB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/0.4024, allocations: 0.8401 MB / 0.4939 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4041, allocations: 0.9919 MB / 0.4949 GB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.4041, allocations: 3.938 kB / 0.4949 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-05/0.4042, allocations: 8 kB / 0.4949 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.4043, allocations: 28 kB / 0.4949 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008232/0.4125, allocations: 4.923 MB / 0.4997 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4138, allocations: 0.6678 MB / 0.5004 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006471/0.4144, allocations: 430.3 kB / 0.5008 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.4145, allocations: 12.64 kB / 0.5008 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.4145, allocations: 55.16 kB / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.236e-06/0.4146, allocations: 0 / 0.5008 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.002622/0.4172, allocations: 1.038 MB / 0.5019 GB, free: 11.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.4173, allocations: 93.64 kB / 0.5019 GB, free: 11.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/0.4181, allocations: 0.6056 MB / 0.5025 GB, free: 10.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.4181, allocations: 25.7 kB / 0.5026 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.4184, allocations: 0.498 MB / 0.503 GB, free: 9.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.4186, allocations: 268 kB / 0.5033 GB, free: 9.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.4187, allocations: 0 / 0.5033 GB, free: 9.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4189, allocations: 398.7 kB / 0.5037 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.4193, allocations: 250.6 kB / 0.5039 GB, free: 8.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.4199, allocations: 480 kB / 0.5044 GB, free: 8.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.4204, allocations: 311 kB / 0.5047 GB, free: 8.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4204, allocations: 4 kB / 0.5047 GB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002005/0.4224, allocations: 1.047 MB / 0.5057 GB, free: 7.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4224, allocations: 8.188 kB / 0.5057 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.4224, allocations: 8 kB / 0.5057 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004787/0.4229, allocations: 156.4 kB / 0.5059 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/0.4268, allocations: 1.007 MB / 0.5069 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008719/0.4356, allocations: 8.976 MB / 0.5156 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4367, allocations: 135 kB / 0.5157 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.209e-05/0.4368, allocations: 40 kB / 0.5158 GB, free: 12.01 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.0002705/0.437, allocations: 129.7 kB / 0.5159 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.4372, allocations: 98.88 kB / 0.516 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.4375, allocations: 92.16 kB / 0.5161 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4375, allocations: 8 kB / 0.5161 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4375, allocations: 0 / 0.5161 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4375, allocations: 3.984 kB / 0.5161 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.4414, allocations: 2.02 MB / 0.5181 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4414, allocations: 0 / 0.5181 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.442, allocations: 131.8 kB / 0.5182 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/0.4426, allocations: 261.7 kB / 0.5184 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.4427, allocations: 4 kB / 0.5185 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008/0.4507, allocations: 8.848 MB / 0.5271 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4507, allocations: 0 / 0.5271 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003221/0.454, allocations: 1.573 MB / 0.5286 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.4543, allocations: 175.9 kB / 0.5288 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.4545, allocations: 3.906 kB / 0.5288 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.4554, allocations: 115.9 kB / 0.5289 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.4555, allocations: 44.59 kB / 0.529 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.4556, allocations: 20 kB / 0.529 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007239/0.4563, allocations: 463.2 kB / 0.5294 GB, free: 13.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00144/0.4577, allocations: 330.8 kB / 0.5297 GB, free: 12.9 MB / 410.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.0003111/0.4581, allocations: 107.2 kB / 0.5298 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00645/0.4645, allocations: 2.161 MB / 0.5319 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.4646, allocations: 4 kB / 0.5319 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.4659, allocations: 0.9463 MB / 0.5329 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4671, allocations: 139.3 kB / 0.533 GB, free: 9.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/0.4737, allocations: 1.924 MB / 0.5349 GB, free: 7.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.4749, allocations: 1.158 MB / 0.536 GB, free: 6.305 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4749, allocations: 0 / 0.536 GB, free: 6.305 MB / 410.7 MB Notification: Performance of Templates: time 0.02662/0.5016, allocations: 12.44 MB / 0.5482 GB, free: 10.03 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches