Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00155/0.00155, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.83 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2718, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004437/0.2762, allocations: 2.782 MB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2776, allocations: 0.7128 MB / 435.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2777, allocations: 4 kB / 435.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2779, allocations: 47.58 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2781, allocations: 91.25 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.2784, allocations: 103.8 kB / 435.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.2788, allocations: 342.6 kB / 436.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.279, allocations: 60.7 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.2792, allocations: 131.5 kB / 436.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2794, allocations: 147.3 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.2795, allocations: 32 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.2795, allocations: 28 kB / 436.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.2796, allocations: 63.77 kB / 436.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2797, allocations: 147.2 kB / 436.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.2801, allocations: 324.6 kB / 437.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2801, allocations: 0 / 437.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2801, allocations: 0 / 437.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2801, allocations: 0 / 437.1 MB, free: 2.359 MB / 334.1 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.001263/0.2814, allocations: 0.6455 MB / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2814, allocations: 8.031 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.2815, allocations: 32.75 kB / 437.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.2819, allocations: 279.6 kB / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.282, allocations: 16.81 kB / 438 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.282, allocations: 24.38 kB / 438.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.2827, allocations: 278 kB / 438.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2827, allocations: 3.984 kB / 438.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2827, allocations: 12 kB / 438.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2827, allocations: 7.938 kB / 438.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.2835, allocations: 245.6 kB / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2851, allocations: 0.8987 MB / 439.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2866, allocations: 435.5 kB / 439.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.2869, allocations: 88.73 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2869, allocations: 0 / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004606/0.2874, allocations: 169.8 kB / 440.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.2874, allocations: 0 / 440.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002104/0.2895, allocations: 0.5694 MB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.2896, allocations: 106.8 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.2899, allocations: 278.6 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2899, allocations: 29.7 kB / 441.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2901, allocations: 192 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.2901, allocations: 39.66 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.2902, allocations: 45.7 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2904, allocations: 342.8 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.2907, allocations: 96.3 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.2911, allocations: 189.7 kB / 442 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.2919, allocations: 297.4 kB / 442.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2919, allocations: 8 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001209/0.2931, allocations: 439.8 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.2931, allocations: 33.7 kB / 442.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2931, allocations: 8.062 kB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.2935, allocations: 56.81 kB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2937, allocations: 51.91 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.296, allocations: 1.606 MB / 444.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2963, allocations: 55.69 kB / 444.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2964, allocations: 15.98 kB / 444.6 MB, free: 10.27 MB / 350.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.2966, allocations: 145.9 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.2966, allocations: 27.8 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.2966, allocations: 25.7 kB / 444.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2966, allocations: 4 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2966, allocations: 0 / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2967, allocations: 0 / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.298, allocations: 0.6473 MB / 445.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.298, allocations: 0 / 445.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.2982, allocations: 23.97 kB / 445.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.2984, allocations: 56.81 kB / 445.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2984, allocations: 4 kB / 445.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3006, allocations: 1.597 MB / 447.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3006, allocations: 4.031 kB / 447.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3016, allocations: 396 kB / 447.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.3017, allocations: 96.97 kB / 447.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3017, allocations: 7.984 kB / 447.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.302, allocations: 31.97 kB / 447.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.3021, allocations: 11.98 kB / 447.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3021, allocations: 7.984 kB / 447.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3023, allocations: 194 kB / 447.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3023, allocations: 0 / 447.8 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.3027, allocations: 67.89 kB / 447.9 MB, free: 6.684 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.3028, allocations: 104.3 kB / 448 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3039, allocations: 385.8 kB / 448.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3039, allocations: 0 / 448.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.3043, allocations: 203.4 kB / 448.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3047, allocations: 48.45 kB / 448.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3058, allocations: 488.6 kB / 449.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.3062, allocations: 0.7482 MB / 449.9 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.3063, allocations: 19.44 kB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3063, allocations: 0 / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Templates: time 0.006924/0.3132, allocations: 4.158 MB / 454 MB, free: 480 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.353226544801146]