Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0008639/0.0008638, allocations: 93.8 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.703e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08564, allocations: 50.41 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2878/0.3735, allocations: 80.45 MB / 467.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3737, allocations: 79.95 kB / 468 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.3911, allocations: 6.386 MB / 474.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3911, allocations: 4 kB / 474.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.3912, allocations: 4 kB / 474.4 MB, free: 7.93 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.001151/0.3923, allocations: 0.5925 MB / 475 MB, free: 7.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3924, allocations: 8.031 kB / 475 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.3925, allocations: 35.62 kB / 475 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.3929, allocations: 295 kB / 475.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3929, allocations: 11.98 kB / 475.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.393, allocations: 12 kB / 475.3 MB, free: 6.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003409/0.3933, allocations: 177.5 kB / 475.5 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.3938, allocations: 242.6 kB / 475.7 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3938, allocations: 3.984 kB / 475.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.3938, allocations: 4 kB / 475.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3938, allocations: 4 kB / 475.8 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3959, allocations: 1.122 MB / 476.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.3962, allocations: 154.6 kB / 477 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.861e-05/0.3963, allocations: 60.86 kB / 477.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3964, allocations: 0 / 477.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.3966, allocations: 129.9 kB / 477.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3966, allocations: 0 / 477.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006346/0.3972, allocations: 226.1 kB / 477.4 MB, free: 4.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3973, allocations: 106.8 kB / 477.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.3976, allocations: 234.1 kB / 477.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3976, allocations: 31.11 kB / 477.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3977, allocations: 207.6 kB / 478 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3978, allocations: 35.45 kB / 478 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.3978, allocations: 0 / 478 MB, free: 4.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3979, allocations: 346.7 kB / 478.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.398, allocations: 52.23 kB / 478.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3982, allocations: 157.1 kB / 478.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3983, allocations: 74.38 kB / 478.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3983, allocations: 0 / 478.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006888/0.399, allocations: 323.8 kB / 479 MB, free: 3.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.3991, allocations: 41.66 kB / 479 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3991, allocations: 0 / 479 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.3993, allocations: 52.84 kB / 479.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3996, allocations: 59.92 kB / 479.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.4012, allocations: 1.595 MB / 480.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.4016, allocations: 59.94 kB / 480.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.4016, allocations: 11.98 kB / 480.8 MB, free: 1.086 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: buffer.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: 13 * 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 (24): * Single equations (assignments): 22 * 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.0001693/0.4018, allocations: 129.3 kB / 480.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.4018, allocations: 23.72 kB / 480.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.4019, allocations: 21.95 kB / 481 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4019, allocations: 4 kB / 481 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4019, allocations: 4 kB / 481 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4019, allocations: 0 / 481 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.4022, allocations: 274 kB / 481.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4022, allocations: 0 / 481.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.4024, allocations: 27.97 kB / 481.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.4025, allocations: 56.92 kB / 481.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4025, allocations: 3.984 kB / 481.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.404, allocations: 1.587 MB / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4041, allocations: 8.047 kB / 482.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.4046, allocations: 262 kB / 483.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.4047, allocations: 100.8 kB / 483.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.4048, allocations: 4 kB / 483.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.405, allocations: 31.97 kB / 483.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.4051, allocations: 27.92 kB / 483.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4051, allocations: 11.98 kB / 483.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.4053, allocations: 178 kB / 483.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4053, allocations: 0 / 483.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.4057, allocations: 71.78 kB / 483.6 MB, free: 14.08 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.0001448/0.4059, allocations: 104.5 kB / 483.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.4064, allocations: 337 kB / 484 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4064, allocations: 0 / 484 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.4066, allocations: 189.5 kB / 484.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.4069, allocations: 35.23 kB / 484.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.4097, allocations: 0.8036 MB / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.41, allocations: 0.7638 MB / 485.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.4101, allocations: 30.05 kB / 485.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.4102, allocations: 19.44 kB / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4102, allocations: 0 / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Templates: time 0.006197/0.4164, allocations: 3.264 MB / 489.1 MB, free: 8.496 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches