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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008137/0.0008138, allocations: 96.19 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.51e-05/1.514e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4735, allocations: 84.07 MB / 479.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4737, allocations: 78.2 kB / 479.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05409/0.5278, allocations: 23.8 MB / 0.4913 GB, free: 5.316 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5279, allocations: 0 / 0.4913 GB, free: 5.316 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.542e-05/0.528, allocations: 32 kB / 0.4914 GB, free: 5.285 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.002626/0.5306, allocations: 1.411 MB / 0.4927 GB, free: 3.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5307, allocations: 8.031 kB / 0.4927 GB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.5309, allocations: 161.6 kB / 0.4929 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.532, allocations: 0.717 MB / 0.4936 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.532, allocations: 42.06 kB / 0.4936 GB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5322, allocations: 68 kB / 0.4937 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001324/0.5335, allocations: 0.8382 MB / 0.4945 GB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.5351, allocations: 0.9954 MB / 0.4955 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5352, allocations: 3.938 kB / 0.4955 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.308e-05/0.5353, allocations: 7.953 kB / 0.4955 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.5353, allocations: 28 kB / 0.4955 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/0.5422, allocations: 4.886 MB / 0.5003 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5434, allocations: 0.921 MB / 0.5012 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.544, allocations: 410.6 kB / 0.5016 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.544, allocations: 12.94 kB / 0.5016 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5441, allocations: 43.28 kB / 0.5016 GB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/0.5441, allocations: 0 / 0.5016 GB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.002436/0.5465, allocations: 1.019 MB / 0.5026 GB, free: 10.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.5466, allocations: 97.78 kB / 0.5027 GB, free: 10.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.5473, allocations: 0.6016 MB / 0.5033 GB, free: 9.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5473, allocations: 29.7 kB / 0.5034 GB, free: 9.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.5477, allocations: 0.6113 MB / 0.504 GB, free: 9.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.5479, allocations: 268 kB / 0.5042 GB, free: 8.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.5479, allocations: 0 / 0.5042 GB, free: 8.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5481, allocations: 398.7 kB / 0.5046 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.5485, allocations: 242.6 kB / 0.5048 GB, free: 8.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.5491, allocations: 483.7 kB / 0.5053 GB, free: 7.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004725/0.5496, allocations: 312.4 kB / 0.5056 GB, free: 7.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5496, allocations: 4 kB / 0.5056 GB, free: 7.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001918/0.5515, allocations: 1.034 MB / 0.5066 GB, free: 6.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5515, allocations: 11.94 kB / 0.5066 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.5516, allocations: 8 kB / 0.5066 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.552, allocations: 150.7 kB / 0.5068 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003833/0.5558, allocations: 0.9404 MB / 0.5077 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/0.5638, allocations: 8.92 MB / 0.5164 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.5647, allocations: 134.9 kB / 0.5165 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.5648, allocations: 40 kB / 0.5165 GB, free: 11.43 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.0002295/0.5651, allocations: 128.7 kB / 0.5167 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5652, allocations: 86.97 kB / 0.5168 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.5654, allocations: 98.16 kB / 0.5168 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.5654, allocations: 11.98 kB / 0.5169 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.5655, allocations: 4 kB / 0.5169 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5655, allocations: 7.938 kB / 0.5169 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.569, allocations: 2.034 MB / 0.5189 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5691, allocations: 4 kB / 0.5189 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.5696, allocations: 127.8 kB / 0.519 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.5701, allocations: 257.1 kB / 0.5192 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.5702, allocations: 4 kB / 0.5192 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.5776, allocations: 8.922 MB / 0.5279 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5776, allocations: 0 / 0.5279 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002891/0.5805, allocations: 1.568 MB / 0.5295 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.5807, allocations: 187.8 kB / 0.5297 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.5808, allocations: 4 kB / 0.5297 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.5815, allocations: 99.92 kB / 0.5298 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.5817, allocations: 68.41 kB / 0.5298 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.5817, allocations: 21.97 kB / 0.5298 GB, free: 12.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005924/0.5823, allocations: 467.2 kB / 0.5303 GB, free: 12.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5823, allocations: 0 / 0.5303 GB, free: 12.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001219/0.5836, allocations: 326.9 kB / 0.5306 GB, free: 12.19 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.0002058/0.5838, allocations: 119.1 kB / 0.5307 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004311/0.5881, allocations: 1.664 MB / 0.5323 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5881, allocations: 7.938 kB / 0.5323 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5891, allocations: 0.994 MB / 0.5333 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.5899, allocations: 145.8 kB / 0.5335 GB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.5941, allocations: 1.884 MB / 0.5353 GB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.5948, allocations: 1.097 MB / 0.5364 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.5952, allocations: 97.47 kB / 0.5365 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.5953, allocations: 55.44 kB / 0.5365 GB, free: 5.969 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5954, allocations: 0 / 0.5365 GB, free: 5.969 MB / 410.7 MB Notification: Performance of Templates: time 0.01846/0.6138, allocations: 11.39 MB / 0.5476 GB, free: 10.74 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