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.0009743/0.0009744, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.165/1.165, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008716/0.0008715, allocations: 111.1 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001977/0.0001977, allocations: 4 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1683, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08819/0.2565, allocations: 84.81 MB / 494.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.2568, allocations: 79.95 kB / 494.3 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.224/0.4808, allocations: 24.02 MB / 0.5062 GB, free: 86.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4809, allocations: 0.75 kB / 0.5062 GB, free: 86.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001152/0.481, allocations: 34.59 kB / 0.5062 GB, free: 86.2 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.00325/0.4843, allocations: 1.528 MB / 0.5077 GB, free: 85.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4843, allocations: 9.188 kB / 0.5077 GB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.4847, allocations: 161.4 kB / 0.5079 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4858, allocations: 0.7263 MB / 0.5086 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.4859, allocations: 90.36 kB / 0.5087 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.486, allocations: 119.8 kB / 0.5088 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.4885, allocations: 1.31 MB / 0.5101 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.4885, allocations: 0.5 kB / 0.5101 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.4886, allocations: 52.97 kB / 0.5101 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.4887, allocations: 30.97 kB / 0.5101 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.4909, allocations: 1.16 MB / 0.5113 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006248/0.4971, allocations: 5.107 MB / 0.5163 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.4991, allocations: 1.255 MB / 0.5175 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.4991, allocations: 8.5 kB / 0.5175 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4992, allocations: 50.61 kB / 0.5175 GB, free: 82.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.4992, allocations: 0 / 0.5175 GB, free: 82.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.006853/0.506, allocations: 3.149 MB / 0.5206 GB, free: 81.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.5061, allocations: 85.73 kB / 0.5207 GB, free: 81.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.5067, allocations: 0.716 MB / 0.5214 GB, free: 80.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.5068, allocations: 44.42 kB / 0.5214 GB, free: 80.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.507, allocations: 0.5933 MB / 0.522 GB, free: 80.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5072, allocations: 277.6 kB / 0.5223 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.5072, allocations: 19.25 kB / 0.5223 GB, free: 80.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.5073, allocations: 347.6 kB / 0.5226 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.508, allocations: 388.4 kB / 0.523 GB, free: 79.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.5088, allocations: 0.6134 MB / 0.5236 GB, free: 79.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.5096, allocations: 454 kB / 0.524 GB, free: 79.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5096, allocations: 7.859 kB / 0.524 GB, free: 79.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002465/0.5121, allocations: 1.425 MB / 0.5254 GB, free: 78.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5121, allocations: 10.19 kB / 0.5254 GB, free: 78.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5121, allocations: 7.656 kB / 0.5254 GB, free: 78.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.5128, allocations: 244.2 kB / 0.5257 GB, free: 78.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.5158, allocations: 0.9384 MB / 0.5266 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/0.5251, allocations: 10.35 MB / 0.5367 GB, free: 68.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.5259, allocations: 152.4 kB / 0.5369 GB, free: 68.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.5259, allocations: 40 kB / 0.5369 GB, free: 68.53 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.000363/0.5263, allocations: 285.5 kB / 0.5372 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.5264, allocations: 98.88 kB / 0.5373 GB, free: 68.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.5266, allocations: 106.9 kB / 0.5374 GB, free: 68.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5266, allocations: 11.95 kB / 0.5374 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5266, allocations: 4 kB / 0.5374 GB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5266, allocations: 3.141 kB / 0.5374 GB, free: 68.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.5307, allocations: 2.535 MB / 0.5399 GB, free: 65.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5307, allocations: 4 kB / 0.5399 GB, free: 65.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.5312, allocations: 136.6 kB / 0.54 GB, free: 65.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.5323, allocations: 442 kB / 0.5404 GB, free: 65.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/0.5323, allocations: 14.95 kB / 0.5404 GB, free: 65.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008622/0.5409, allocations: 10.27 MB / 0.5505 GB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.541, allocations: 4.031 kB / 0.5505 GB, free: 54.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.5446, allocations: 2.089 MB / 0.5525 GB, free: 53.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.5447, allocations: 183.5 kB / 0.5527 GB, free: 52.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.5448, allocations: 15.95 kB / 0.5527 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.5455, allocations: 124.2 kB / 0.5528 GB, free: 52.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/0.5456, allocations: 57.33 kB / 0.5529 GB, free: 52.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.5457, allocations: 26.86 kB / 0.5529 GB, free: 52.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004876/0.5462, allocations: 0.5482 MB / 0.5534 GB, free: 52.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5462, allocations: 0 / 0.5534 GB, free: 52.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009721/0.5471, allocations: 359 kB / 0.5538 GB, free: 51.87 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.0001614/0.5473, allocations: 134.7 kB / 0.5539 GB, free: 51.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004402/0.5517, allocations: 2.056 MB / 0.5559 GB, free: 49.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5517, allocations: 0 / 0.5559 GB, free: 49.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.5529, allocations: 1.176 MB / 0.557 GB, free: 48.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.5536, allocations: 182.5 kB / 0.5572 GB, free: 48.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.5576, allocations: 2.957 MB / 0.5601 GB, free: 45.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.558, allocations: 1.097 MB / 0.5612 GB, free: 44.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.5583, allocations: 102.3 kB / 0.5613 GB, free: 44.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5585, allocations: 59.44 kB / 0.5613 GB, free: 44.25 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5585, allocations: 4 kB / 0.5613 GB, free: 44.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01572/0.5742, allocations: 12.99 MB / 0.574 GB, free: 31.5 MB / 378.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