Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.0009969, allocations: 180.9 kB / 16.38 MB, free: 5.766 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.332/1.332, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009192/0.0009191, allocations: 93.05 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.0002489, allocations: 7.938 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2616, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3697, allocations: 80.71 MB / 482.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.3701, allocations: 83.95 kB / 482.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.3868, allocations: 5.78 MB / 488.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3869, allocations: 0 / 488.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.3869, allocations: 12 kB / 488.1 MB, free: 9.871 MB / 362.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.001152/0.3881, allocations: 0.595 MB / 488.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3882, allocations: 12.03 kB / 488.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3882, allocations: 27.62 kB / 488.7 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3886, allocations: 263.2 kB / 489 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3886, allocations: 20.42 kB / 489 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.3887, allocations: 16 kB / 489 MB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.3893, allocations: 286.1 kB / 489.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3893, allocations: 4 kB / 489.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3894, allocations: 19.94 kB / 489.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3894, allocations: 4 kB / 489.3 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.3901, allocations: 269.6 kB / 489.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3919, allocations: 0.9988 MB / 490.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3934, allocations: 499.5 kB / 491.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3934, allocations: 4 kB / 491.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005064/0.3939, allocations: 182 kB / 491.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.3939, allocations: 0 / 491.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.002142/0.3961, allocations: 0.6396 MB / 491.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3962, allocations: 106.8 kB / 492 MB, free: 5.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.3965, allocations: 249.7 kB / 492.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3966, allocations: 29.7 kB / 492.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3967, allocations: 187.6 kB / 492.5 MB, free: 5.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3968, allocations: 27.61 kB / 492.5 MB, free: 5.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.3968, allocations: 4 kB / 492.5 MB, free: 5.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.397, allocations: 330.8 kB / 492.8 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3973, allocations: 115.9 kB / 492.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.3977, allocations: 218.7 kB / 493.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.3981, allocations: 150.5 kB / 493.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3981, allocations: 0 / 493.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001134/0.3992, allocations: 475.8 kB / 493.7 MB, free: 3.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/0.3993, allocations: 37.73 kB / 493.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3993, allocations: 0 / 493.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.3997, allocations: 68.81 kB / 493.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3999, allocations: 59.89 kB / 493.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.4021, allocations: 1.55 MB / 495.5 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4025, allocations: 63.78 kB / 495.5 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.4025, allocations: 8 kB / 495.5 MB, free: 1.914 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Number of clocked 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.4027, allocations: 152.7 kB / 495.7 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.4028, allocations: 23.67 kB / 495.7 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.4028, allocations: 25.7 kB / 495.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4028, allocations: 4.047 kB / 495.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4028, allocations: 3.984 kB / 495.7 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4029, allocations: 4 kB / 495.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4042, allocations: 0.6709 MB / 496.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4043, allocations: 0 / 496.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4044, allocations: 35.91 kB / 496.4 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.4046, allocations: 60.83 kB / 496.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4047, allocations: 3.984 kB / 496.5 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.4066, allocations: 1.538 MB / 498 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4066, allocations: 0 / 498 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.4076, allocations: 432 kB / 498.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.4077, allocations: 96.91 kB / 498.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4078, allocations: 0 / 498.6 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.4081, allocations: 47.95 kB / 498.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.4082, allocations: 15.98 kB / 498.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4082, allocations: 7.984 kB / 498.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002068/0.4084, allocations: 189.9 kB / 498.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4084, allocations: 0 / 498.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.4088, allocations: 71.84 kB / 498.9 MB, free: 14.31 MB / 378.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) * Number of clocked states: 0 () * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001962/0.409, allocations: 107.4 kB / 499 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009814/0.41, allocations: 421.8 kB / 499.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.41, allocations: 0 / 499.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.4105, allocations: 227.2 kB / 499.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4108, allocations: 43.45 kB / 499.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009796/0.4118, allocations: 0.501 MB / 0.4884 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4121, allocations: 0.7521 MB / 0.4892 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.4122, allocations: 30.22 kB / 0.4892 GB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.4123, allocations: 23.44 kB / 0.4892 GB, free: 12.13 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4123, allocations: 3.938 kB / 0.4892 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Templates: time 0.006698/0.419, allocations: 3.081 MB / 0.4922 GB, free: 9.078 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches