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.001099/0.0011, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008997/0.0009, allocations: 96.12 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002568, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2794, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.392, allocations: 81.46 MB / 490.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.3923, allocations: 79.95 kB / 490.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.4092, allocations: 5.835 MB / 496.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4092, allocations: 0 / 496.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.4093, allocations: 8 kB / 496.8 MB, free: 4.098 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.001294/0.4106, allocations: 0.5992 MB / 497.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4106, allocations: 12.03 kB / 497.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4108, allocations: 32.56 kB / 497.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.4112, allocations: 279.9 kB / 497.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.4112, allocations: 16.81 kB / 497.7 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.4113, allocations: 24.38 kB / 497.7 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.412, allocations: 294.3 kB / 498 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.412, allocations: 192 / 498 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.412, allocations: 7.938 kB / 498 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4121, allocations: 8 kB / 498 MB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.4128, allocations: 269.5 kB / 498.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.4147, allocations: 0.9796 MB / 499.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.4162, allocations: 499.4 kB / 499.8 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.4165, allocations: 104.8 kB / 499.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.4166, allocations: 3.938 kB / 499.9 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/0.4171, allocations: 185.7 kB / 0.4883 GB, free: 0.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.4171, allocations: 0 / 0.4883 GB, free: 0.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.002056/0.4192, allocations: 0.6474 MB / 0.489 GB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.4193, allocations: 110.8 kB / 0.4891 GB, free: 15.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.4196, allocations: 274.6 kB / 0.4893 GB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.4197, allocations: 29.7 kB / 0.4894 GB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.4198, allocations: 183.7 kB / 0.4895 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4199, allocations: 35.53 kB / 0.4896 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.4199, allocations: 4 kB / 0.4896 GB, free: 15.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4201, allocations: 334.8 kB / 0.4899 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4204, allocations: 111.9 kB / 0.49 GB, free: 14.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.4208, allocations: 226.6 kB / 0.4902 GB, free: 14.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.4216, allocations: 336.9 kB / 0.4905 GB, free: 14.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4216, allocations: 4 kB / 0.4905 GB, free: 14.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001184/0.4228, allocations: 463.8 kB / 0.491 GB, free: 13.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.4229, allocations: 33.7 kB / 0.491 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4229, allocations: 4 kB / 0.491 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.4232, allocations: 68.84 kB / 0.4911 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4235, allocations: 59.89 kB / 0.4911 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.4257, allocations: 1.523 MB / 0.4926 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.4261, allocations: 63.75 kB / 0.4927 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.4261, allocations: 16 kB / 0.4927 GB, free: 11.78 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.0001998/0.4263, allocations: 145.7 kB / 0.4928 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.4264, allocations: 19.81 kB / 0.4929 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.4264, allocations: 25.7 kB / 0.4929 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4264, allocations: 11.94 kB / 0.4929 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4265, allocations: 0 / 0.4929 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4265, allocations: 0 / 0.4929 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4279, allocations: 0.6747 MB / 0.4936 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4279, allocations: 0 / 0.4936 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4281, allocations: 35.97 kB / 0.4936 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.4283, allocations: 68.77 kB / 0.4937 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4283, allocations: 3.984 kB / 0.4937 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.4303, allocations: 1.507 MB / 0.4951 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4303, allocations: 4.094 kB / 0.4951 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.4313, allocations: 439.7 kB / 0.4955 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.4314, allocations: 96.81 kB / 0.4956 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4314, allocations: 8 kB / 0.4956 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4317, allocations: 39.97 kB / 0.4957 GB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.4318, allocations: 19.91 kB / 0.4957 GB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.4318, allocations: 4 kB / 0.4957 GB, free: 8.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.432, allocations: 194 kB / 0.4959 GB, free: 8.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.432, allocations: 4 kB / 0.4959 GB, free: 8.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.4324, allocations: 63.84 kB / 0.496 GB, free: 8.191 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.0001963/0.4326, allocations: 103 kB / 0.4961 GB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.4336, allocations: 422 kB / 0.4965 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4336, allocations: 3.938 kB / 0.4965 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.4341, allocations: 219.4 kB / 0.4967 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.4345, allocations: 50.78 kB / 0.4967 GB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4356, allocations: 0.5132 MB / 0.4972 GB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.436, allocations: 0.7404 MB / 0.4979 GB, free: 6.055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.4361, allocations: 34.28 kB / 0.498 GB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.4362, allocations: 15.44 kB / 0.498 GB, free: 6.008 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4362, allocations: 0 / 0.498 GB, free: 6.008 MB / 378.7 MB Notification: Performance of Templates: time 0.007712/0.4439, allocations: 3.135 MB / 0.5011 GB, free: 2.91 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/jenkins1/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