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.001341/0.001342, allocations: 175.6 kB / 17.4 MB, free: 4.398 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.583/1.583, allocations: 223.3 MB / 241.4 MB, free: 9.98 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.0007778/0.0007778, allocations: 94.53 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 15.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.3655, allocations: 80.74 MB / 483.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.3658, allocations: 79.95 kB / 483.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.383, allocations: 5.784 MB / 489.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.701e-06/0.3831, allocations: 8 kB / 489.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.3831, allocations: 4 kB / 489.4 MB, free: 9.668 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.001647/0.3848, allocations: 0.5913 MB / 490 MB, free: 9.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.3849, allocations: 8.031 kB / 490 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3851, allocations: 32.56 kB / 490 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.3855, allocations: 276.3 kB / 490.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3856, allocations: 20.75 kB / 490.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.3856, allocations: 20.38 kB / 490.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.3863, allocations: 290.3 kB / 490.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3864, allocations: 192 / 490.6 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.3864, allocations: 15.94 kB / 490.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3864, allocations: 4 kB / 490.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007675/0.3872, allocations: 273.5 kB / 490.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.3894, allocations: 0.9912 MB / 491.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3909, allocations: 495.4 kB / 492.4 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.3912, allocations: 104.8 kB / 492.5 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.3912, allocations: 4 kB / 492.5 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.3917, allocations: 189.7 kB / 492.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.3918, allocations: 0 / 492.7 MB, free: 6.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001982/0.3937, allocations: 0.6434 MB / 493.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.3938, allocations: 110.8 kB / 493.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.3942, allocations: 274.6 kB / 493.7 MB, free: 5.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.3942, allocations: 29.7 kB / 493.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3944, allocations: 183.7 kB / 493.9 MB, free: 4.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3944, allocations: 31.61 kB / 493.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.3944, allocations: 8 kB / 493.9 MB, free: 4.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3946, allocations: 330.8 kB / 494.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3949, allocations: 107.9 kB / 494.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.3953, allocations: 226.6 kB / 494.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.3961, allocations: 333.2 kB / 494.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3961, allocations: 4 kB / 494.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001222/0.3973, allocations: 472.1 kB / 495.4 MB, free: 3.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.3974, allocations: 29.7 kB / 495.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3974, allocations: 4 kB / 495.4 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.3977, allocations: 72.84 kB / 495.5 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.398, allocations: 63.83 kB / 495.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.4, allocations: 1.526 MB / 497.1 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.4004, allocations: 63.81 kB / 497.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.4005, allocations: 15.98 kB / 497.1 MB, free: 1.352 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.0001797/0.4006, allocations: 137.7 kB / 497.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.4007, allocations: 19.81 kB / 497.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.4008, allocations: 29.73 kB / 497.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.4008, allocations: 3.938 kB / 497.3 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4008, allocations: 4 kB / 497.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4008, allocations: 0 / 497.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4022, allocations: 0.6825 MB / 498 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4022, allocations: 0 / 498 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4023, allocations: 39.91 kB / 498 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.4025, allocations: 56.81 kB / 498.1 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.4026, allocations: 8 kB / 498.1 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.4044, allocations: 1.508 MB / 499.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4044, allocations: 3.938 kB / 499.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4054, allocations: 427.9 kB / 0.4883 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4056, allocations: 104.8 kB / 0.4884 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.4056, allocations: 0 / 0.4884 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4059, allocations: 44.16 kB / 0.4885 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.406, allocations: 23.91 kB / 0.4885 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.406, allocations: 3.938 kB / 0.4885 GB, free: 14.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.4062, allocations: 190 kB / 0.4887 GB, free: 13.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.694e-06/0.4062, allocations: 0 / 0.4887 GB, free: 13.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.4067, allocations: 79.78 kB / 0.4887 GB, free: 13.77 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.0001786/0.4069, allocations: 103 kB / 0.4888 GB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.4078, allocations: 421.8 kB / 0.4892 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4079, allocations: 0 / 0.4892 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4083, allocations: 223.3 kB / 0.4895 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.4087, allocations: 43.91 kB / 0.4895 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4099, allocations: 0.5018 MB / 0.49 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4104, allocations: 0.7443 MB / 0.4907 GB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.4105, allocations: 30.27 kB / 0.4907 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.4106, allocations: 23.44 kB / 0.4908 GB, free: 11.59 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4106, allocations: 0 / 0.4908 GB, free: 11.59 MB / 378.7 MB Notification: Performance of Templates: time 0.007695/0.4183, allocations: 3.133 MB / 0.4938 GB, free: 8.5 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/jenkins1/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