Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001018/0.001018, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.0008793, allocations: 86.61 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.533e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08026/0.08029, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.3689, allocations: 78.6 MB / 441.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.3692, allocations: 80.2 kB / 441.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.384, allocations: 5.599 MB / 447.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.384, allocations: 0 / 447.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.3841, allocations: 4 kB / 447.4 MB, free: 12.29 MB / 330.7 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.000858/0.3849, allocations: 0.5627 MB / 447.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.385, allocations: 8.031 kB / 447.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.385, allocations: 31.66 kB / 448 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.3854, allocations: 267.9 kB / 448.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3854, allocations: 11.94 kB / 448.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.3854, allocations: 12 kB / 448.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003067/0.3858, allocations: 156.7 kB / 448.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.3861, allocations: 165.8 kB / 448.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3861, allocations: 0 / 448.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3861, allocations: 0 / 448.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3861, allocations: 4 kB / 448.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3876, allocations: 0.8555 MB / 449.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3879, allocations: 183.6 kB / 449.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.3879, allocations: 47.17 kB / 449.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.388, allocations: 4.031 kB / 449.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.3882, allocations: 124.3 kB / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3882, allocations: 0 / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004499/0.3886, allocations: 176.5 kB / 449.9 MB, free: 9.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3887, allocations: 102.8 kB / 450 MB, free: 9.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3889, allocations: 221.3 kB / 450.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3889, allocations: 33.64 kB / 450.3 MB, free: 9.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3891, allocations: 185.5 kB / 450.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3891, allocations: 33.8 kB / 450.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.3891, allocations: 0 / 450.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3893, allocations: 334.2 kB / 450.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.3894, allocations: 44.62 kB / 450.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3895, allocations: 140.1 kB / 451 MB, free: 8.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.3896, allocations: 56.7 kB / 451.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.3896, allocations: 0 / 451.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004901/0.3901, allocations: 278.1 kB / 451.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005038/0.3906, allocations: 1.161 MB / 452.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3906, allocations: 4 kB / 452.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.3908, allocations: 30.78 kB / 452.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3911, allocations: 62.95 kB / 452.6 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003586/0.3914, allocations: 0.5496 MB / 453.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3917, allocations: 59.77 kB / 453.2 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3918, allocations: 11.44 kB / 453.2 MB, free: 6.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.3918, allocations: 4 kB / 453.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002801/0.3921, allocations: 170.2 kB / 453.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3921, allocations: 8 kB / 453.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.191e-05/0.3921, allocations: 24.09 kB / 453.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3924, allocations: 63.16 kB / 453.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.3932, allocations: 1.334 MB / 454.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.3935, allocations: 43.91 kB / 454.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3935, allocations: 11.81 kB / 454.9 MB, free: 4.922 MB / 330.7 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.0001277/0.3936, allocations: 118.5 kB / 455 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.3937, allocations: 23.67 kB / 455 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.3937, allocations: 25.08 kB / 455 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3937, allocations: 0 / 455 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.3937, allocations: 0 / 455 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3938, allocations: 0 / 455 MB, free: 4.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.3943, allocations: 0.4928 MB / 455.5 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3944, allocations: 3.938 kB / 455.5 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3945, allocations: 35.47 kB / 455.6 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.631e-05/0.3946, allocations: 24.41 kB / 455.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3946, allocations: 4 kB / 455.6 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.3956, allocations: 1.305 MB / 456.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3956, allocations: 0 / 456.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.396, allocations: 281.4 kB / 457.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.396, allocations: 103.6 kB / 457.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3961, allocations: 8 kB / 457.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3963, allocations: 35.97 kB / 457.3 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.3964, allocations: 17.28 kB / 457.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3964, allocations: 4 kB / 457.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3966, allocations: 173.4 kB / 457.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3966, allocations: 0 / 457.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.3971, allocations: 115.6 kB / 457.6 MB, free: 2.176 MB / 330.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.3972, allocations: 107.8 kB / 457.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.3979, allocations: 439.9 kB / 458.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3979, allocations: 0 / 458.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3981, allocations: 168 kB / 458.3 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3984, allocations: 43.22 kB / 458.4 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.3989, allocations: 262.8 kB / 458.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3991, allocations: 0.745 MB / 459.4 MB, free: 472 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3993, allocations: 42.17 kB / 459.4 MB, free: 428 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.3993, allocations: 15.44 kB / 459.4 MB, free: 412 kB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3993, allocations: 0 / 459.4 MB, free: 412 kB / 330.7 MB Notification: Performance of Templates: time 0.005659/0.405, allocations: 3.112 MB / 462.5 MB, free: 13.3 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches