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.00116/0.00116, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 245.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007601/0.0007601, allocations: 97.06 kB / 297.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 11.98 kB / 358.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2752, allocations: 51.29 MB / 409.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3858, allocations: 84.74 MB / 494.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.3862, allocations: 82.17 kB / 494.2 MB, free: 6.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3091/0.6952, allocations: 24.01 MB / 0.5061 GB, free: 86.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6953, allocations: 0.75 kB / 0.5061 GB, free: 86.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001024/0.6954, allocations: 35.14 kB / 0.5061 GB, free: 86.3 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.003623/0.699, allocations: 1.515 MB / 0.5076 GB, free: 85.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.6991, allocations: 8.406 kB / 0.5076 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.6995, allocations: 157.5 kB / 0.5078 GB, free: 85.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.7009, allocations: 0.755 MB / 0.5085 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.701, allocations: 88.95 kB / 0.5086 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.7013, allocations: 120.4 kB / 0.5087 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.7042, allocations: 1.327 MB / 0.51 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.7043, allocations: 2 kB / 0.51 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.7044, allocations: 55.53 kB / 0.51 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/0.7045, allocations: 29.38 kB / 0.5101 GB, free: 85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.7074, allocations: 1.154 MB / 0.5112 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007359/0.7148, allocations: 5.117 MB / 0.5162 GB, free: 83.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.7168, allocations: 1.252 MB / 0.5174 GB, free: 82.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009273/0.7178, allocations: 0.5477 MB / 0.518 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.7178, allocations: 9.766 kB / 0.518 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.7179, allocations: 51.88 kB / 0.518 GB, free: 82.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.956e-06/0.7179, allocations: 0 / 0.518 GB, free: 82.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.007694/0.7256, allocations: 3.176 MB / 0.5211 GB, free: 81.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.7257, allocations: 85.67 kB / 0.5212 GB, free: 81.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.7269, allocations: 0.8016 MB / 0.522 GB, free: 81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.727, allocations: 45.11 kB / 0.522 GB, free: 80.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.7273, allocations: 0.603 MB / 0.5226 GB, free: 80.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.7275, allocations: 284.8 kB / 0.5229 GB, free: 80.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.7276, allocations: 19.28 kB / 0.5229 GB, free: 80.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.7276, allocations: 346.8 kB / 0.5232 GB, free: 79.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.7284, allocations: 383.6 kB / 0.5236 GB, free: 79.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008896/0.7293, allocations: 0.6196 MB / 0.5242 GB, free: 79.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.731, allocations: 1.006 MB / 0.5252 GB, free: 78.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.7311, allocations: 3.75 kB / 0.5252 GB, free: 78.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003087/0.7342, allocations: 1.418 MB / 0.5266 GB, free: 78.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.7342, allocations: 7.344 kB / 0.5266 GB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.7342, allocations: 11.03 kB / 0.5266 GB, free: 78.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/0.735, allocations: 231.3 kB / 0.5268 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/0.7382, allocations: 0.9384 MB / 0.5277 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009953/0.7482, allocations: 10.21 MB / 0.5377 GB, free: 68.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.7494, allocations: 163.4 kB / 0.5379 GB, free: 68.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.7495, allocations: 36 kB / 0.5379 GB, free: 68.32 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.0006034/0.7501, allocations: 269.6 kB / 0.5382 GB, free: 68.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7503, allocations: 106.8 kB / 0.5383 GB, free: 67.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.7504, allocations: 111.2 kB / 0.5384 GB, free: 67.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.7505, allocations: 11.94 kB / 0.5384 GB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.7505, allocations: 4 kB / 0.5384 GB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.7505, allocations: 7.125 kB / 0.5384 GB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004371/0.7549, allocations: 2.527 MB / 0.5408 GB, free: 65.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.7549, allocations: 4 kB / 0.5409 GB, free: 65.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.7554, allocations: 122.3 kB / 0.541 GB, free: 65.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.7566, allocations: 448.2 kB / 0.5414 GB, free: 65.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.7567, allocations: 16 kB / 0.5414 GB, free: 65.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009045/0.7658, allocations: 10.12 MB / 0.5513 GB, free: 54.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.7658, allocations: 10.88 kB / 0.5513 GB, free: 54.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.7698, allocations: 2.041 MB / 0.5533 GB, free: 53.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.7702, allocations: 190.4 kB / 0.5535 GB, free: 52.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.7704, allocations: 19.8 kB / 0.5535 GB, free: 52.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7713, allocations: 118.4 kB / 0.5536 GB, free: 52.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.7715, allocations: 75.83 kB / 0.5537 GB, free: 52.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.7715, allocations: 20 kB / 0.5537 GB, free: 52.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000748/0.7723, allocations: 0.5448 MB / 0.5542 GB, free: 52.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7723, allocations: 0 / 0.5542 GB, free: 52.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001459/0.7738, allocations: 363 kB / 0.5546 GB, free: 51.84 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.0002523/0.774, allocations: 130.6 kB / 0.5547 GB, free: 51.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005143/0.7792, allocations: 2.137 MB / 0.5568 GB, free: 49.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.7792, allocations: 0 / 0.5568 GB, free: 49.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.7806, allocations: 1.175 MB / 0.5579 GB, free: 48.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.7824, allocations: 191.5 kB / 0.5581 GB, free: 48.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.7878, allocations: 2.941 MB / 0.561 GB, free: 45.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.7884, allocations: 1.079 MB / 0.562 GB, free: 44.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005767/0.789, allocations: 105.2 kB / 0.5621 GB, free: 44.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.7892, allocations: 59.44 kB / 0.5622 GB, free: 44.62 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7892, allocations: 4 kB / 0.5622 GB, free: 44.62 MB / 378.7 MB Notification: Performance of Templates: time 0.02187/0.8111, allocations: 13.12 MB / 0.575 GB, free: 31.75 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/jenkins1/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