Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 201.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008844/0.0008844, allocations: 98.05 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002193, allocations: 8 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.184, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08729/0.2713, allocations: 81.49 MB / 490.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.2715, allocations: 77.55 kB / 491 MB, free: 9.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.2871, allocations: 5.814 MB / 496.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2871, allocations: 0 / 496.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.2871, allocations: 4 kB / 496.8 MB, free: 3.199 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.0009519/0.2881, allocations: 0.5992 MB / 497.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2881, allocations: 8.031 kB / 497.4 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.2882, allocations: 35.56 kB / 497.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.2885, allocations: 271.1 kB / 497.7 MB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2886, allocations: 16.39 kB / 497.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.2886, allocations: 23.94 kB / 497.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.2892, allocations: 285.8 kB / 498 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2892, allocations: 0 / 498 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.2893, allocations: 8 kB / 498 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2893, allocations: 4 kB / 498 MB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.29, allocations: 277.6 kB / 498.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.2916, allocations: 0.9834 MB / 499.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.2929, allocations: 499.4 kB / 499.8 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.293, allocations: 4 kB / 499.8 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/0.2934, allocations: 182 kB / 500 MB, free: 15.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.2934, allocations: 0 / 500 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001845/0.2953, allocations: 0.6435 MB / 0.4889 GB, free: 15.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.2954, allocations: 110.8 kB / 0.489 GB, free: 15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.2956, allocations: 245.7 kB / 0.4892 GB, free: 14.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2956, allocations: 33.7 kB / 0.4893 GB, free: 14.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2957, allocations: 187.6 kB / 0.4894 GB, free: 14.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.2958, allocations: 39.55 kB / 0.4895 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2958, allocations: 0 / 0.4895 GB, free: 14.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2959, allocations: 334.8 kB / 0.4898 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2962, allocations: 111.9 kB / 0.4899 GB, free: 14.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2966, allocations: 210.8 kB / 0.4901 GB, free: 13.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.2969, allocations: 157.1 kB / 0.4902 GB, free: 13.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.297, allocations: 3.953 kB / 0.4903 GB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001113/0.2981, allocations: 471.7 kB / 0.4907 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.2981, allocations: 33.7 kB / 0.4907 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2981, allocations: 0 / 0.4907 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.2984, allocations: 72.84 kB / 0.4908 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2986, allocations: 55.89 kB / 0.4909 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.3007, allocations: 1.547 MB / 0.4924 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.3011, allocations: 63.7 kB / 0.4924 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.3011, allocations: 12 kB / 0.4924 GB, free: 11.23 MB / 378.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.0001877/0.3013, allocations: 149.7 kB / 0.4926 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.3013, allocations: 23.72 kB / 0.4926 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.3014, allocations: 21.7 kB / 0.4926 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3014, allocations: 4 kB / 0.4926 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3014, allocations: 0 / 0.4926 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3014, allocations: 0 / 0.4926 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.3028, allocations: 0.6867 MB / 0.4933 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3028, allocations: 0 / 0.4933 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.303, allocations: 31.97 kB / 0.4933 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/0.3032, allocations: 60.81 kB / 0.4934 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3032, allocations: 4 kB / 0.4934 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.3049, allocations: 1.542 MB / 0.4949 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3049, allocations: 0 / 0.4949 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.3058, allocations: 436 kB / 0.4953 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.3059, allocations: 92.86 kB / 0.4954 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.306, allocations: 7.953 kB / 0.4954 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3062, allocations: 43.95 kB / 0.4955 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.3063, allocations: 23.97 kB / 0.4955 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3063, allocations: 4 kB / 0.4955 GB, free: 7.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3065, allocations: 197.9 kB / 0.4957 GB, free: 7.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 0 / 0.4957 GB, free: 7.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.3069, allocations: 59.91 kB / 0.4957 GB, free: 7.621 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.0001481/0.307, allocations: 111.1 kB / 0.4958 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008656/0.3079, allocations: 422.5 kB / 0.4962 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3079, allocations: 0 / 0.4962 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.3083, allocations: 222.6 kB / 0.4964 GB, free: 6.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3086, allocations: 54 kB / 0.4965 GB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.3096, allocations: 0.5055 MB / 0.497 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3098, allocations: 0.7521 MB / 0.4977 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3099, allocations: 26.36 kB / 0.4978 GB, free: 5.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.31, allocations: 19.44 kB / 0.4978 GB, free: 5.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.31, allocations: 4 kB / 0.4978 GB, free: 5.426 MB / 378.7 MB Notification: Performance of Templates: time 0.005927/0.3159, allocations: 3.078 MB / 0.5008 GB, free: 2.387 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches