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.001292/0.001292, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001425/0.001425, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.557/1.557, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.003112/0.003112, allocations: 75.81 kB / 378.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3095, allocations: 53.31 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005486/0.315, allocations: 2.786 MB / 434.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3167, allocations: 0.7128 MB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003038/0.317, allocations: 7.938 kB / 435.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3172, allocations: 39.58 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.3175, allocations: 95.25 kB / 435.7 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.3179, allocations: 91.81 kB / 435.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.3185, allocations: 358.6 kB / 436.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.3187, allocations: 52.72 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.319, allocations: 135.5 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.3192, allocations: 147.3 kB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.3193, allocations: 32 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.488e-05/0.3193, allocations: 28 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.3194, allocations: 63.75 kB / 436.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3196, allocations: 143.3 kB / 436.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3201, allocations: 324.6 kB / 437.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3201, allocations: 0 / 437.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3201, allocations: 0 / 437.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3201, allocations: 4 kB / 437.1 MB, free: 2.344 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.001486/0.3216, allocations: 0.6416 MB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3216, allocations: 8.031 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.3217, allocations: 32.75 kB / 437.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.3222, allocations: 275.6 kB / 438 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3222, allocations: 12.81 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.3223, allocations: 28.31 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.323, allocations: 282 kB / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.323, allocations: 0 / 438.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.323, allocations: 8 kB / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.323, allocations: 4 kB / 438.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.3239, allocations: 245.6 kB / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.3257, allocations: 0.9065 MB / 439.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.3273, allocations: 439.5 kB / 439.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.3277, allocations: 88.72 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3277, allocations: 4 kB / 440 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.3282, allocations: 165.8 kB / 440.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.3282, allocations: 0 / 440.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.002203/0.3304, allocations: 0.5694 MB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.3305, allocations: 114.8 kB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.3308, allocations: 270.6 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.3309, allocations: 33.7 kB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.331, allocations: 191.9 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.3311, allocations: 35.73 kB / 441.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.3312, allocations: 45.7 kB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3313, allocations: 342.8 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.3317, allocations: 91.86 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.3322, allocations: 201.7 kB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.3329, allocations: 297.4 kB / 442.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3329, allocations: 4 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00128/0.3342, allocations: 431.9 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.3343, allocations: 41.03 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3343, allocations: 4 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.3346, allocations: 60.89 kB / 442.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.3348, allocations: 51.89 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.3373, allocations: 1.602 MB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.3376, allocations: 63.8 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3376, allocations: 8 kB / 444.6 MB, free: 10.26 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.0001721/0.3378, allocations: 145.7 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3379, allocations: 27.8 kB / 444.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.3379, allocations: 21.7 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3379, allocations: 0 / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.3379, allocations: 4 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/0.3379, allocations: 4.031 kB / 444.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.3394, allocations: 0.6472 MB / 445.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3394, allocations: 7.984 kB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.3395, allocations: 23.98 kB / 445.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.3397, allocations: 56.81 kB / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3398, allocations: 0 / 445.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.342, allocations: 1.601 MB / 447.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.342, allocations: 0 / 447.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.343, allocations: 396.1 kB / 447.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.3431, allocations: 96.95 kB / 447.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3432, allocations: 8 kB / 447.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.3435, allocations: 35.95 kB / 447.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.3435, allocations: 12.17 kB / 447.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3436, allocations: 4 kB / 447.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.3438, allocations: 197.9 kB / 447.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3438, allocations: 0 / 447.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.3441, allocations: 63.89 kB / 447.9 MB, free: 6.672 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.0001645/0.3443, allocations: 103.2 kB / 448 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.3453, allocations: 390.5 kB / 448.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3453, allocations: 0 / 448.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.3457, allocations: 202.5 kB / 448.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3462, allocations: 49.66 kB / 448.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3472, allocations: 450.9 kB / 449.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3476, allocations: 0.7479 MB / 449.8 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.3477, allocations: 34.33 kB / 449.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.3478, allocations: 19.44 kB / 449.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3478, allocations: 0 / 449.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Templates: time 0.008048/0.3558, allocations: 3.684 MB / 453.6 MB, free: 0.9531 MB / 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 -s cvode -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: 4.824770776089281]