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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 213.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB 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.002926/0.002926, allocations: 71.83 kB / 367.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.289, allocations: 53.32 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004189/0.2932, allocations: 2.757 MB / 423.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2945, allocations: 0.7089 MB / 424.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2947, allocations: 8 kB / 424.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2948, allocations: 43.58 kB / 424.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.295, allocations: 87.25 kB / 424.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.2953, allocations: 95.83 kB / 424.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.2957, allocations: 350.5 kB / 424.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2958, allocations: 64.7 kB / 424.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.296, allocations: 135.5 kB / 424.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2962, allocations: 147.4 kB / 425.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.2962, allocations: 28 kB / 425.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.2963, allocations: 32 kB / 425.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.2964, allocations: 63.7 kB / 425.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.2965, allocations: 143.3 kB / 425.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.2969, allocations: 322.5 kB / 425.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2969, allocations: 4 kB / 425.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2969, allocations: 0 / 425.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2969, allocations: 0 / 425.7 MB, free: 3.363 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.001228/0.2981, allocations: 0.6416 MB / 426.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2982, allocations: 16.03 kB / 426.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.2982, allocations: 36.75 kB / 426.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.2986, allocations: 275.6 kB / 426.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2987, allocations: 12.81 kB / 426.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.2987, allocations: 20.38 kB / 426.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.2993, allocations: 294 kB / 426.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2994, allocations: 0 / 426.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.2994, allocations: 4 kB / 426.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2994, allocations: 8 kB / 427 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007505/0.3001, allocations: 241.6 kB / 427.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.3017, allocations: 0.8987 MB / 428.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3032, allocations: 431.5 kB / 428.5 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.3035, allocations: 88.72 kB / 428.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3035, allocations: 4 kB / 428.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.3039, allocations: 177.7 kB / 428.8 MB, free: 24 kB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.3039, allocations: 0 / 428.8 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002018/0.306, allocations: 0.5694 MB / 429.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.306, allocations: 114.8 kB / 429.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.3064, allocations: 266.7 kB / 429.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3064, allocations: 25.7 kB / 429.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3065, allocations: 192 kB / 429.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.3066, allocations: 39.73 kB / 430 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3067, allocations: 45.66 kB / 430 MB, free: 14.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3068, allocations: 338.8 kB / 430.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.3072, allocations: 99.86 kB / 430.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.3076, allocations: 193.7 kB / 430.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.3083, allocations: 301.4 kB / 430.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3083, allocations: 4 kB / 430.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001183/0.3095, allocations: 428 kB / 431.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.3095, allocations: 37.69 kB / 431.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3095, allocations: 4.375 kB / 431.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.3099, allocations: 56.83 kB / 431.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.3101, allocations: 55.89 kB / 431.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.3124, allocations: 1.621 MB / 433.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.3127, allocations: 51.8 kB / 433.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.3127, allocations: 8 kB / 433.2 MB, free: 11.28 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.0001717/0.3129, allocations: 145.8 kB / 433.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3129, allocations: 27.78 kB / 433.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.313, allocations: 25.72 kB / 433.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.313, allocations: 0 / 433.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.313, allocations: 0 / 433.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.313, allocations: 3.984 kB / 433.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3144, allocations: 0.6512 MB / 434 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3144, allocations: 0 / 434 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3146, allocations: 23.97 kB / 434 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.3148, allocations: 60.77 kB / 434.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3148, allocations: 7.984 kB / 434.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.317, allocations: 1.594 MB / 435.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.317, allocations: 0 / 435.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.318, allocations: 392 kB / 436.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.3181, allocations: 101 kB / 436.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3181, allocations: 0 / 436.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3184, allocations: 35.95 kB / 436.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.3185, allocations: 15.98 kB / 436.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3185, allocations: 4.188 kB / 436.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.3187, allocations: 198 kB / 436.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3187, allocations: 3.938 kB / 436.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004369/0.3191, allocations: 63.89 kB / 436.5 MB, free: 7.688 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.0001643/0.3193, allocations: 110 kB / 436.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3203, allocations: 385.8 kB / 437 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3203, allocations: 0.8125 kB / 437 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3208, allocations: 210.5 kB / 437.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3212, allocations: 40.48 kB / 437.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3222, allocations: 446.9 kB / 437.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3226, allocations: 0.744 MB / 438.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.3227, allocations: 26.28 kB / 438.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.3228, allocations: 23.44 kB / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3228, allocations: 0 / 438.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Templates: time 0.007927/0.3307, allocations: 3.616 MB / 442.1 MB, free: 2.051 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches