Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001455, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 88.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.135e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.4729, allocations: 78.36 MB / 440.7 MB, free: 7.949 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.4733, allocations: 79.95 kB / 440.8 MB, free: 7.871 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.5008, allocations: 5.591 MB / 446.4 MB, free: 2.301 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5008, allocations: 0.6562 kB / 446.4 MB, free: 2.301 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.5008, allocations: 4 kB / 446.4 MB, free: 2.297 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001542/0.5024, allocations: 0.5733 MB / 447 MB, free: 1.676 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5025, allocations: 8.031 kB / 447 MB, free: 1.668 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.5026, allocations: 31.7 kB / 447 MB, free: 1.637 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.5032, allocations: 267.3 kB / 447.3 MB, free: 1.336 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.5033, allocations: 7.953 kB / 447.3 MB, free: 1.328 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.5033, allocations: 13.22 kB / 447.3 MB, free: 1.316 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005097/0.5038, allocations: 156.9 kB / 447.4 MB, free: 1.164 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.5043, allocations: 162.4 kB / 447.6 MB, free: 0.9961 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5044, allocations: 0 / 447.6 MB, free: 0.9961 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.5044, allocations: 4 kB / 447.6 MB, free: 0.9922 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.5044, allocations: 4 kB / 447.6 MB, free: 0.9883 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.5071, allocations: 0.8501 MB / 448.4 MB, free: 80 kB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.5076, allocations: 188.7 kB / 448.6 MB, free: 15.87 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.5077, allocations: 44.86 kB / 448.7 MB, free: 15.82 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.5078, allocations: 3.984 kB / 448.7 MB, free: 15.82 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.5081, allocations: 126 kB / 448.8 MB, free: 15.67 MB / 347.1 MB Notification: Performance of pre-optimization done (n=11): time 2.695e-06/0.5081, allocations: 0 / 448.8 MB, free: 15.67 MB / 347.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007701/0.5089, allocations: 180.5 kB / 449 MB, free: 15.49 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.943e-05/0.509, allocations: 102.8 kB / 449.1 MB, free: 15.36 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.5094, allocations: 224.4 kB / 449.3 MB, free: 15.14 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.5095, allocations: 29.7 kB / 449.3 MB, free: 15.1 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.5097, allocations: 246 kB / 449.6 MB, free: 14.86 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.5098, allocations: 35.55 kB / 449.6 MB, free: 14.82 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.5098, allocations: 0 / 449.6 MB, free: 14.82 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.51, allocations: 318.8 kB / 449.9 MB, free: 14.5 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5101, allocations: 44 kB / 450 MB, free: 14.46 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5104, allocations: 144.7 kB / 450.1 MB, free: 14.28 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.5106, allocations: 60.44 kB / 450.2 MB, free: 14.22 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.5106, allocations: 4 kB / 450.2 MB, free: 14.21 MB / 347.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009069/0.5115, allocations: 252.2 kB / 450.4 MB, free: 13.96 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005939/0.5122, allocations: 1.171 MB / 451.6 MB, free: 12.7 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5122, allocations: 0 / 451.6 MB, free: 12.7 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002354/0.5124, allocations: 33.88 kB / 451.6 MB, free: 12.66 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.5129, allocations: 62.16 kB / 451.7 MB, free: 12.6 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005539/0.5135, allocations: 0.56 MB / 452.2 MB, free: 12.02 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.5141, allocations: 51.88 kB / 452.3 MB, free: 11.96 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.5142, allocations: 8 kB / 452.3 MB, free: 11.96 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5142, allocations: 4 kB / 452.3 MB, free: 11.95 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005716/0.5148, allocations: 176.9 kB / 452.5 MB, free: 11.78 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5148, allocations: 8 kB / 452.5 MB, free: 11.77 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.5149, allocations: 20.84 kB / 452.5 MB, free: 11.75 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.5153, allocations: 59.86 kB / 452.5 MB, free: 11.69 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.5167, allocations: 1.323 MB / 453.9 MB, free: 10.25 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.5172, allocations: 49.41 kB / 453.9 MB, free: 10.21 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.5173, allocations: 15.98 kB / 453.9 MB, free: 10.19 MB / 347.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.5175, allocations: 115.5 kB / 454 MB, free: 10.07 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.5176, allocations: 27.67 kB / 454.1 MB, free: 10.05 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.5177, allocations: 21.83 kB / 454.1 MB, free: 10.03 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5177, allocations: 0 / 454.1 MB, free: 10.03 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.5177, allocations: 5.312 kB / 454.1 MB, free: 10.02 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5177, allocations: 0 / 454.1 MB, free: 10.02 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5188, allocations: 499.7 kB / 454.6 MB, free: 9.488 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5189, allocations: 0 / 454.6 MB, free: 9.488 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.5192, allocations: 41 kB / 454.6 MB, free: 9.449 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/0.5193, allocations: 24.84 kB / 454.7 MB, free: 9.422 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.5193, allocations: 0 / 454.7 MB, free: 9.422 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.5209, allocations: 1.317 MB / 456 MB, free: 7.988 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.521, allocations: 0.75 kB / 456 MB, free: 7.988 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.5217, allocations: 281.9 kB / 456.2 MB, free: 7.695 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.5219, allocations: 96.86 kB / 456.3 MB, free: 7.582 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.522, allocations: 8 kB / 456.3 MB, free: 7.574 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.5225, allocations: 35.95 kB / 456.4 MB, free: 7.539 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5227, allocations: 19.97 kB / 456.4 MB, free: 7.52 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.5227, allocations: 4.812 kB / 456.4 MB, free: 7.516 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.523, allocations: 174.8 kB / 456.6 MB, free: 7.352 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.523, allocations: 0 / 456.6 MB, free: 7.352 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008504/0.5238, allocations: 111.6 kB / 456.7 MB, free: 7.242 MB / 347.1 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002107/0.5241, allocations: 107 kB / 456.8 MB, free: 7.125 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.5252, allocations: 438.2 kB / 457.2 MB, free: 6.664 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5253, allocations: 3.938 kB / 457.2 MB, free: 6.66 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.5256, allocations: 161.7 kB / 457.4 MB, free: 6.492 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.5262, allocations: 28.55 kB / 457.4 MB, free: 6.465 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.5271, allocations: 287.1 kB / 457.7 MB, free: 6.16 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.5276, allocations: 0.7482 MB / 458.4 MB, free: 5.383 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5277, allocations: 23.44 kB / 458.5 MB, free: 5.359 MB / 347.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5277, allocations: 3.562 kB / 458.5 MB, free: 5.359 MB / 347.1 MB Notification: Performance of Templates: time 0.009978/0.5377, allocations: 3.87 MB / 462.3 MB, free: 1.516 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches