Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007549/0.000755, allocations: 92.62 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002141/0.0002143, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1962, allocations: 51.28 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09366/0.2899, allocations: 84.75 MB / 493.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.2901, allocations: 84.7 kB / 493.5 MB, free: 6.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2076/0.4977, allocations: 24.02 MB / 0.5054 GB, free: 86.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4977, allocations: 0 / 0.5054 GB, free: 86.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.4978, allocations: 33.75 kB / 0.5054 GB, free: 86.5 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.002622/0.5005, allocations: 1.514 MB / 0.5069 GB, free: 85.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5005, allocations: 8.438 kB / 0.5069 GB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.5007, allocations: 158.8 kB / 0.5071 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.5016, allocations: 0.7563 MB / 0.5078 GB, free: 85.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.5017, allocations: 98.23 kB / 0.5079 GB, free: 85.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.5019, allocations: 119.1 kB / 0.508 GB, free: 85.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.5041, allocations: 1.316 MB / 0.5093 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.5041, allocations: 1.625 kB / 0.5093 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5042, allocations: 55.41 kB / 0.5093 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.5042, allocations: 33.03 kB / 0.5094 GB, free: 85.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.5067, allocations: 1.154 MB / 0.5105 GB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006252/0.513, allocations: 5.11 MB / 0.5155 GB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.515, allocations: 1.255 MB / 0.5167 GB, free: 83.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009126/0.5159, allocations: 0.5483 MB / 0.5173 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.516, allocations: 13.5 kB / 0.5173 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.516, allocations: 40.97 kB / 0.5173 GB, free: 82.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.685e-06/0.516, allocations: 2.719 kB / 0.5173 GB, free: 82.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.007281/0.5233, allocations: 3.174 MB / 0.5204 GB, free: 81.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.5233, allocations: 94.92 kB / 0.5205 GB, free: 81.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.5241, allocations: 0.8041 MB / 0.5213 GB, free: 81.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.5242, allocations: 41.11 kB / 0.5213 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.5244, allocations: 0.5957 MB / 0.5219 GB, free: 80.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.5246, allocations: 283.3 kB / 0.5222 GB, free: 80.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.5246, allocations: 19.97 kB / 0.5222 GB, free: 80.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.5247, allocations: 346.3 kB / 0.5225 GB, free: 80.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.5255, allocations: 391.2 kB / 0.5229 GB, free: 80.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/0.5263, allocations: 0.614 MB / 0.5235 GB, free: 79.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.5279, allocations: 1.011 MB / 0.5245 GB, free: 79.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5279, allocations: 3.656 kB / 0.5245 GB, free: 79.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002592/0.5305, allocations: 1.42 MB / 0.5259 GB, free: 78.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5306, allocations: 8.688 kB / 0.5259 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5306, allocations: 7.625 kB / 0.5259 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.5312, allocations: 234.3 kB / 0.5261 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.5342, allocations: 0.9357 MB / 0.527 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00936/0.5436, allocations: 10.21 MB / 0.537 GB, free: 68.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007997/0.5444, allocations: 156 kB / 0.5371 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.5445, allocations: 40 kB / 0.5372 GB, free: 68.48 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.000396/0.5449, allocations: 281.5 kB / 0.5375 GB, free: 68.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.545, allocations: 102.8 kB / 0.5376 GB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.5452, allocations: 105 kB / 0.5377 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5452, allocations: 11.94 kB / 0.5377 GB, free: 68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5452, allocations: 3.938 kB / 0.5377 GB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5452, allocations: 3.281 kB / 0.5377 GB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.5493, allocations: 2.533 MB / 0.5401 GB, free: 65.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5494, allocations: 0 / 0.5401 GB, free: 65.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.5498, allocations: 132.5 kB / 0.5403 GB, free: 65.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.551, allocations: 444.3 kB / 0.5407 GB, free: 65.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.551, allocations: 19.56 kB / 0.5407 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008533/0.5596, allocations: 10.12 MB / 0.5506 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5596, allocations: 0 / 0.5506 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/0.5634, allocations: 2.045 MB / 0.5526 GB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.5636, allocations: 189.9 kB / 0.5528 GB, free: 53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.842e-05/0.5638, allocations: 16 kB / 0.5528 GB, free: 52.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.5645, allocations: 122.4 kB / 0.5529 GB, free: 52.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5646, allocations: 64.73 kB / 0.553 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.5646, allocations: 31.75 kB / 0.553 GB, free: 52.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005519/0.5652, allocations: 0.5401 MB / 0.5535 GB, free: 52.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5652, allocations: 0 / 0.5535 GB, free: 52.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0011/0.5663, allocations: 363 kB / 0.5539 GB, free: 52 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.0001546/0.5665, allocations: 128.6 kB / 0.554 GB, free: 51.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.5713, allocations: 2.145 MB / 0.5561 GB, free: 50.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5713, allocations: 0 / 0.5561 GB, free: 50.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.5726, allocations: 1.174 MB / 0.5572 GB, free: 48.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5736, allocations: 201.4 kB / 0.5574 GB, free: 48.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.5779, allocations: 2.971 MB / 0.5603 GB, free: 45.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.5783, allocations: 1.078 MB / 0.5614 GB, free: 44.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.5785, allocations: 67.38 kB / 0.5614 GB, free: 44.79 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5785, allocations: 0 / 0.5614 GB, free: 44.79 MB / 378.7 MB Notification: Performance of Templates: time 0.02883/0.6073, allocations: 42.94 MB / 0.6034 GB, free: 1.988 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches