Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.3 MB / 235.5 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 91.67 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.995e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.0828, allocations: 50.41 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3688, allocations: 83.91 MB / 478.2 MB, free: 3.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3691, allocations: 89.11 kB / 478.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0601/0.4292, allocations: 24.01 MB / 0.4905 GB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4293, allocations: 0 / 0.4905 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.045e-05/0.4294, allocations: 31.98 kB / 0.4905 GB, free: 11.41 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.002468/0.4318, allocations: 1.389 MB / 0.4919 GB, free: 9.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4319, allocations: 8.031 kB / 0.4919 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.4321, allocations: 167.4 kB / 0.492 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.4332, allocations: 0.7196 MB / 0.4927 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.4332, allocations: 90.45 kB / 0.4928 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.4334, allocations: 123.9 kB / 0.493 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.4354, allocations: 1.176 MB / 0.4941 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4354, allocations: 7.938 kB / 0.4941 GB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.4355, allocations: 56 kB / 0.4942 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4356, allocations: 28 kB / 0.4942 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.4371, allocations: 0.9008 MB / 0.4951 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00773/0.4448, allocations: 5.112 MB / 0.5001 GB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.4461, allocations: 0.9581 MB / 0.501 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.4468, allocations: 446.7 kB / 0.5014 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.4468, allocations: 16.77 kB / 0.5014 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4469, allocations: 51.28 kB / 0.5015 GB, free: 15.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 2.946e-06/0.4469, allocations: 0 / 0.5015 GB, free: 15.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.002654/0.4495, allocations: 1.074 MB / 0.5025 GB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.4496, allocations: 89.83 kB / 0.5026 GB, free: 14.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.4506, allocations: 0.7037 MB / 0.5033 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.4507, allocations: 41.7 kB / 0.5034 GB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.4511, allocations: 0.5997 MB / 0.5039 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.4513, allocations: 279.9 kB / 0.5042 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4514, allocations: 20 kB / 0.5042 GB, free: 12.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4515, allocations: 353.9 kB / 0.5046 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.4519, allocations: 262.6 kB / 0.5048 GB, free: 12.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.4525, allocations: 0.4927 MB / 0.5053 GB, free: 11.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.4531, allocations: 340.5 kB / 0.5056 GB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4531, allocations: 0 / 0.5056 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00229/0.4554, allocations: 1.138 MB / 0.5067 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.4554, allocations: 13.2 kB / 0.5067 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4555, allocations: 8 kB / 0.5067 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.456, allocations: 162.6 kB / 0.5069 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.4598, allocations: 0.9404 MB / 0.5078 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009174/0.469, allocations: 9.337 MB / 0.5169 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.4703, allocations: 158.9 kB / 0.5171 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.4704, allocations: 36 kB / 0.5171 GB, free: 14.7 MB / 410.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 () * 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.0002577/0.4706, allocations: 168.7 kB / 0.5173 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.4708, allocations: 98.83 kB / 0.5174 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.4711, allocations: 104.9 kB / 0.5175 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4711, allocations: 11.94 kB / 0.5175 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4711, allocations: 0 / 0.5175 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.4711, allocations: 7.984 kB / 0.5175 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/0.4751, allocations: 2.237 MB / 0.5197 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4751, allocations: 4.062 kB / 0.5197 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.4756, allocations: 123.9 kB / 0.5198 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/0.4763, allocations: 273 kB / 0.5201 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.4763, allocations: 23.98 kB / 0.5201 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/0.4844, allocations: 9.237 MB / 0.5291 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4844, allocations: 0 / 0.5291 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.4877, allocations: 1.646 MB / 0.5307 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.4881, allocations: 191.8 kB / 0.5309 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4882, allocations: 16 kB / 0.5309 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007911/0.489, allocations: 119.9 kB / 0.531 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.4891, allocations: 64.42 kB / 0.5311 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.4892, allocations: 23.98 kB / 0.5311 GB, free: 15.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006939/0.4899, allocations: 0.5382 MB / 0.5316 GB, free: 14.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4899, allocations: 0 / 0.5316 GB, free: 14.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001309/0.4912, allocations: 359 kB / 0.532 GB, free: 14.5 MB / 426.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.0002012/0.4914, allocations: 127.2 kB / 0.5321 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004766/0.4962, allocations: 1.815 MB / 0.5339 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.4963, allocations: 4 kB / 0.5339 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4974, allocations: 1.054 MB / 0.5349 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.4984, allocations: 186.3 kB / 0.5351 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.5028, allocations: 1.938 MB / 0.537 GB, free: 9.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.5035, allocations: 1.097 MB / 0.538 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005292/0.504, allocations: 99.58 kB / 0.5381 GB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.5042, allocations: 59.44 kB / 0.5382 GB, free: 7.934 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5042, allocations: 0 / 0.5382 GB, free: 7.934 MB / 426.7 MB Notification: Performance of Templates: time 0.2103/0.7145, allocations: 12.97 MB / 0.5509 GB, free: 118.2 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches