Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008201/0.0008203, allocations: 95.59 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.08e-05, allocations: 8 kB / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 51.48 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3224/0.4319, allocations: 81.23 MB / 476.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.4321, allocations: 78.92 kB / 476.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.4483, allocations: 6.418 MB / 482.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4484, allocations: 0 / 482.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.4484, allocations: 7.172 kB / 482.9 MB, free: 6.473 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001083/0.4495, allocations: 0.598 MB / 483.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4496, allocations: 8.031 kB / 483.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4497, allocations: 35.53 kB / 483.6 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.4501, allocations: 287.9 kB / 483.8 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4501, allocations: 8 kB / 483.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.4501, allocations: 16 kB / 483.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003454/0.4505, allocations: 177.2 kB / 484 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.4509, allocations: 246.2 kB / 484.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4509, allocations: 0 / 484.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.4509, allocations: 0 / 484.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4509, allocations: 8 kB / 484.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.4528, allocations: 1.127 MB / 485.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.4531, allocations: 146 kB / 485.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.4532, allocations: 54.73 kB / 485.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4532, allocations: 3.984 kB / 485.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.4534, allocations: 138.9 kB / 485.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.4534, allocations: 0 / 485.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006085/0.4541, allocations: 234.4 kB / 486 MB, free: 3.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.4541, allocations: 109.7 kB / 486.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.4543, allocations: 234.9 kB / 486.3 MB, free: 3.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4544, allocations: 25.7 kB / 486.3 MB, free: 3.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.4544, allocations: 200.4 kB / 486.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4545, allocations: 35.27 kB / 486.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.4545, allocations: 0 / 486.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.4546, allocations: 331.6 kB / 486.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.4547, allocations: 59.22 kB / 486.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4548, allocations: 150.2 kB / 487.1 MB, free: 2.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4549, allocations: 68.88 kB / 487.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4549, allocations: 4 kB / 487.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006271/0.4555, allocations: 326.8 kB / 487.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.4556, allocations: 33.7 kB / 487.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4556, allocations: 0 / 487.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.4559, allocations: 54.89 kB / 487.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.4561, allocations: 55.97 kB / 487.6 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.4574, allocations: 1.48 MB / 489.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.4577, allocations: 59.86 kB / 489.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4577, allocations: 11.31 kB / 489.2 MB, free: 0.7031 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gain.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: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.4579, allocations: 115.8 kB / 489.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.4579, allocations: 27.09 kB / 489.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.458, allocations: 24.89 kB / 489.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.458, allocations: 8 kB / 489.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.458, allocations: 3.938 kB / 489.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.458, allocations: 3.984 kB / 489.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4583, allocations: 276.5 kB / 489.6 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4583, allocations: 7.938 kB / 489.6 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.4584, allocations: 23.98 kB / 489.7 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.4585, allocations: 54.2 kB / 489.7 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4586, allocations: 3.25 kB / 489.7 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4599, allocations: 1.467 MB / 491.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.46, allocations: 3.938 kB / 491.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.4605, allocations: 262.3 kB / 491.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.4606, allocations: 104.7 kB / 491.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4607, allocations: 0 / 491.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.4609, allocations: 39.91 kB / 491.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.461, allocations: 26.22 kB / 491.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.461, allocations: 3.984 kB / 491.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.4612, allocations: 180.5 kB / 491.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4612, allocations: 0 / 491.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000386/0.4616, allocations: 79.78 kB / 491.9 MB, free: 14.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.4618, allocations: 103.9 kB / 492 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.4623, allocations: 331.4 kB / 492.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4623, allocations: 0 / 492.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.4626, allocations: 177.4 kB / 492.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.4629, allocations: 38.06 kB / 492.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006864/0.4636, allocations: 281.6 kB / 492.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4639, allocations: 0.7677 MB / 493.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.4641, allocations: 22.08 kB / 493.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.4641, allocations: 15.44 kB / 493.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4641, allocations: 0 / 493.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.007253/0.4714, allocations: 3.279 MB / 496.9 MB, free: 9.258 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches