Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001489/0.001489, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 101.8 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003946, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3283, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4594, allocations: 79.11 MB / 453.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000425/0.4599, allocations: 79.95 kB / 453.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04127/0.5011, allocations: 5.647 MB / 459.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.5012, allocations: 0 / 459.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.844e-05/0.5013, allocations: 4 kB / 459.4 MB, free: 11.89 MB / 346.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.002316/0.5036, allocations: 0.6028 MB / 460 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.5037, allocations: 8.031 kB / 460 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.5039, allocations: 31.62 kB / 460 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.5045, allocations: 259.4 kB / 460.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.355e-05/0.5046, allocations: 32.39 kB / 460.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.5048, allocations: 19.94 kB / 460.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.5063, allocations: 259.1 kB / 460.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5064, allocations: 4 kB / 460.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.5065, allocations: 8 kB / 460.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.5065, allocations: 4 kB / 460.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.5087, allocations: 289.5 kB / 460.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.5125, allocations: 0.8947 MB / 461.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.5145, allocations: 315.6 kB / 462.1 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.5146, allocations: 7.984 kB / 462.1 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.5158, allocations: 181.7 kB / 462.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 4.789e-06/0.5158, allocations: 0 / 462.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.004519/0.5203, allocations: 0.5773 MB / 462.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5205, allocations: 106.8 kB / 463 MB, free: 8.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.5211, allocations: 245.6 kB / 463.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.5212, allocations: 25.7 kB / 463.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.5215, allocations: 246.1 kB / 463.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.5216, allocations: 35.45 kB / 463.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.5217, allocations: 8 kB / 463.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5219, allocations: 318.8 kB / 463.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.5228, allocations: 107.9 kB / 463.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.5238, allocations: 206.3 kB / 464.1 MB, free: 6.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.5248, allocations: 141.6 kB / 464.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.5248, allocations: 7.953 kB / 464.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002842/0.5277, allocations: 416.1 kB / 464.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007591/0.5285, allocations: 1.168 MB / 465.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5286, allocations: 0 / 465.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.5292, allocations: 64.81 kB / 465.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.5299, allocations: 55.86 kB / 466 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.5311, allocations: 0.5875 MB / 466.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.532, allocations: 59.78 kB / 466.6 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.5321, allocations: 19.92 kB / 466.6 MB, free: 4.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.5322, allocations: 4 kB / 466.6 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001943/0.5341, allocations: 310.5 kB / 466.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.5342, allocations: 4 kB / 466.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.5344, allocations: 32.8 kB / 467 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.535, allocations: 59.89 kB / 467 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.537, allocations: 1.381 MB / 468.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.5378, allocations: 44.06 kB / 468.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.5379, allocations: 16 kB / 468.5 MB, free: 2.176 MB / 346.7 MB 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 () * Number of clocked 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.0003977/0.5384, allocations: 226.8 kB / 468.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5385, allocations: 23.72 kB / 468.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.5386, allocations: 29.64 kB / 468.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5387, allocations: 4 kB / 468.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5387, allocations: 0 / 468.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5387, allocations: 4 kB / 468.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.5416, allocations: 0.6513 MB / 469.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5417, allocations: 4 kB / 469.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.5421, allocations: 31.97 kB / 469.4 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.5426, allocations: 56.81 kB / 469.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.5426, allocations: 0 / 469.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.5464, allocations: 1.511 MB / 471 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.5464, allocations: 3.953 kB / 471 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.5489, allocations: 404.5 kB / 471.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.5491, allocations: 100.8 kB / 471.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5492, allocations: 7.938 kB / 471.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.55, allocations: 39.97 kB / 471.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.5502, allocations: 19.97 kB / 471.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.5503, allocations: 4 kB / 471.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004543/0.5507, allocations: 190 kB / 471.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5508, allocations: 0 / 471.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00172/0.5525, allocations: 119.7 kB / 471.9 MB, free: 14.53 MB / 362.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/0.5528, allocations: 107.2 kB / 472 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.5561, allocations: 0.6002 MB / 472.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.5562, allocations: 256 / 472.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5573, allocations: 222.6 kB / 472.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.5582, allocations: 36.55 kB / 472.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5605, allocations: 0.5427 MB / 473.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.5611, allocations: 0.7524 MB / 474.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5613, allocations: 19.44 kB / 474.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5613, allocations: 0 / 474.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01422/0.5756, allocations: 3.954 MB / 478.1 MB, free: 8.203 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches