Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001851/0.001851, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002366/0.002366, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.293, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004186/0.2972, allocations: 2.609 MB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2986, allocations: 0.6623 MB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2988, allocations: 7.938 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2989, allocations: 39.58 kB / 435.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2991, allocations: 95.25 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2994, allocations: 79.84 kB / 435.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.2999, allocations: 358.5 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.3001, allocations: 56.56 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3003, allocations: 139.4 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.3005, allocations: 131.3 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.3005, allocations: 32 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.3006, allocations: 28 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.3007, allocations: 67.7 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3008, allocations: 115.5 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.3012, allocations: 333.7 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3013, allocations: 0 / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3013, allocations: 7.938 kB / 437.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3013, allocations: 3.938 kB / 437.2 MB, free: 1.777 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001194/0.3025, allocations: 0.5623 MB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3025, allocations: 11.98 kB / 437.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.691e-05/0.3026, allocations: 36.75 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.303, allocations: 217.8 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.303, allocations: 20.8 kB / 438 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.3031, allocations: 24.38 kB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.3036, allocations: 316.6 kB / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3037, allocations: 0 / 438.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.3037, allocations: 8 kB / 438.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3037, allocations: 12 kB / 438.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.3043, allocations: 221.5 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3059, allocations: 0.719 MB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.3064, allocations: 170.6 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.3067, allocations: 72.8 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3067, allocations: 4 kB / 439.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.3072, allocations: 247.7 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.3072, allocations: 0 / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001357/0.3085, allocations: 362 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.3086, allocations: 132.5 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3089, allocations: 261.8 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.309, allocations: 33.7 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.3091, allocations: 196.1 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.3092, allocations: 39.69 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.3093, allocations: 53.89 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3094, allocations: 334.8 kB / 441.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.3097, allocations: 110.1 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.3102, allocations: 301.3 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.3108, allocations: 268.6 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3108, allocations: 0 / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009654/0.3117, allocations: 404.9 kB / 442.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.3118, allocations: 33.73 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3118, allocations: 4 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.3121, allocations: 56.8 kB / 442.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3123, allocations: 55.89 kB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.3142, allocations: 1.442 MB / 443.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3145, allocations: 47.88 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.3145, allocations: 23.98 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.3147, allocations: 140.5 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3148, allocations: 27.8 kB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.3148, allocations: 25.77 kB / 444.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3148, allocations: 0 / 444.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3148, allocations: 7.938 kB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3148, allocations: 0 / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3159, allocations: 0.5214 MB / 444.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3159, allocations: 0 / 444.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.3161, allocations: 23.97 kB / 444.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.3163, allocations: 56.81 kB / 444.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3163, allocations: 0 / 444.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.318, allocations: 1.442 MB / 446.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.318, allocations: 3.938 kB / 446.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007602/0.3187, allocations: 328 kB / 446.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.3188, allocations: 27.8 kB / 446.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.3188, allocations: 12 kB / 446.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3191, allocations: 31.95 kB / 446.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3191, allocations: 15.97 kB / 446.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3192, allocations: 8 kB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3194, allocations: 189.1 kB / 446.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3194, allocations: 0 / 446.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.3198, allocations: 71.89 kB / 446.8 MB, free: 7.441 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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000156/0.3199, allocations: 106.8 kB / 446.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008559/0.3208, allocations: 396.2 kB / 447.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3208, allocations: 0 / 447.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.3212, allocations: 206.6 kB / 447.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.3215, allocations: 52.47 kB / 447.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.323, allocations: 0.5177 MB / 448 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3231, allocations: 142.1 kB / 448.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.3232, allocations: 23.44 kB / 448.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3232, allocations: 3.938 kB / 448.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Templates: time 0.007183/0.3304, allocations: 4.347 MB / 452.6 MB, free: 1.574 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.427466177847236]