Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 378.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3116, allocations: 53.35 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00474/0.3163, allocations: 2.597 MB / 434.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3178, allocations: 0.6817 MB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.318, allocations: 4 kB / 434.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.3181, allocations: 43.58 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3183, allocations: 87.25 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.3186, allocations: 99.83 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.319, allocations: 346.6 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3192, allocations: 64.55 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3194, allocations: 135.4 kB / 435.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3196, allocations: 135.3 kB / 435.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.3197, allocations: 28 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.656e-05/0.3197, allocations: 32 kB / 435.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.3198, allocations: 59.77 kB / 435.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.32, allocations: 123.4 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3204, allocations: 321.2 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3204, allocations: 4 kB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3204, allocations: 0 / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3204, allocations: 0 / 436.3 MB, free: 1.965 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.001347/0.3217, allocations: 0.5702 MB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3218, allocations: 12.03 kB / 436.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.915e-05/0.3219, allocations: 28.75 kB / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.3223, allocations: 221.8 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.3223, allocations: 16.81 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.3224, allocations: 16.38 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.3231, allocations: 337.4 kB / 437.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3231, allocations: 0 / 437.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3232, allocations: 12 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3232, allocations: 4 kB / 437.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.3239, allocations: 245.6 kB / 437.8 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.3255, allocations: 0.767 MB / 438.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.327, allocations: 354.4 kB / 438.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.3273, allocations: 88.78 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.3273, allocations: 0 / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/0.3278, allocations: 225.1 kB / 439.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.123e-06/0.3278, allocations: 4 kB / 439.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001972/0.3298, allocations: 0.4943 MB / 439.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.3299, allocations: 110.9 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.3303, allocations: 265.7 kB / 440.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3303, allocations: 33.69 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.3306, allocations: 187.9 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3307, allocations: 39.69 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.3308, allocations: 45.7 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.331, allocations: 330.8 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.3314, allocations: 129.5 kB / 440.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.3319, allocations: 274.8 kB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.3326, allocations: 305.4 kB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3326, allocations: 0 / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001188/0.3338, allocations: 460.9 kB / 441.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.3338, allocations: 37.69 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3338, allocations: 4 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.3341, allocations: 56.89 kB / 441.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.3344, allocations: 55.89 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.3367, allocations: 1.491 MB / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.337, allocations: 55.8 kB / 443.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.337, allocations: 8 kB / 443.5 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.0001847/0.3372, allocations: 141.7 kB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.3373, allocations: 27.95 kB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.3373, allocations: 21.66 kB / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3373, allocations: 4 kB / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3373, allocations: 0 / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3373, allocations: 3.984 kB / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.3387, allocations: 0.5533 MB / 444.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3387, allocations: 0 / 444.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3388, allocations: 35.97 kB / 444.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/0.339, allocations: 48.83 kB / 444.4 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.339, allocations: 8.016 kB / 444.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.3412, allocations: 1.475 MB / 445.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3412, allocations: 3.938 kB / 445.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3422, allocations: 388.1 kB / 446.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.3422, allocations: 31.8 kB / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.3423, allocations: 7.938 kB / 446.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.3425, allocations: 35.95 kB / 446.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.3426, allocations: 19.95 kB / 446.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3426, allocations: 4 kB / 446.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.3428, allocations: 181.2 kB / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.3432, allocations: 63.89 kB / 446.6 MB, free: 7.051 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.0001554/0.3433, allocations: 111.2 kB / 446.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.3443, allocations: 411.6 kB / 447.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3443, allocations: 0 / 447.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.3447, allocations: 199.2 kB / 447.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3452, allocations: 43.67 kB / 447.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3463, allocations: 463.6 kB / 447.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3464, allocations: 126.2 kB / 447.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.3466, allocations: 25.94 kB / 447.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3466, allocations: 19.44 kB / 447.9 MB, free: 5.582 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3466, allocations: 4 kB / 447.9 MB, free: 5.578 MB / 350.1 MB Notification: Performance of Templates: time 0.008541/0.3552, allocations: 3.83 MB / 451.8 MB, free: 1.801 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.744984647259116]