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.000798/0.000798, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.0031/0.0031, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8333/0.8333, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.719e-05, allocations: 2.281 kB / 325.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002497/0.002514, allocations: 2.609 MB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.003316, allocations: 0.6699 MB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00343, allocations: 7.938 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003542, allocations: 43.58 kB / 329.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.00368, allocations: 99.12 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.003885, allocations: 87.81 kB / 329.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.004161, allocations: 366.2 kB / 329.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004299, allocations: 52.91 kB / 329.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.004454, allocations: 199.5 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.004575, allocations: 111.7 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.004612, allocations: 28 kB / 330.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.746e-05/0.00464, allocations: 32 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.004686, allocations: 63.69 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.004765, allocations: 103.7 kB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.005035, allocations: 339 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005037, allocations: 4 kB / 330.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005038, allocations: 4 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.005042, allocations: 0 / 330.6 MB, free: 10.51 MB / 298.7 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.0007275/0.00577, allocations: 0.5506 MB / 331.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005806, allocations: 19.97 kB / 331.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.005859, allocations: 32.75 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.006114, allocations: 221 kB / 331.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.00613, allocations: 16.88 kB / 331.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.006154, allocations: 24.38 kB / 331.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.006506, allocations: 313.7 kB / 331.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.006517, allocations: 4.172 kB / 331.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.006536, allocations: 12.38 kB / 331.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006544, allocations: 11.92 kB / 331.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.006862, allocations: 221.8 kB / 332 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.007726, allocations: 0.7199 MB / 332.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.008022, allocations: 170.5 kB / 332.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.008146, allocations: 80.8 kB / 333 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.008164, allocations: 0 / 333 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.008437, allocations: 243.8 kB / 333.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.008438, allocations: 0 / 333.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000754/0.009192, allocations: 354.1 kB / 333.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.009253, allocations: 136.4 kB / 333.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.009433, allocations: 261.8 kB / 334 MB, free: 6.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.009453, allocations: 33.69 kB / 334 MB, free: 6.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.009555, allocations: 196 kB / 334.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.009579, allocations: 43.62 kB / 334.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.009639, allocations: 57.88 kB / 334.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.009722, allocations: 326.8 kB / 334.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.009879, allocations: 118.1 kB / 334.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.0101, allocations: 289.4 kB / 335 MB, free: 5.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.01042, allocations: 276.5 kB / 335.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01043, allocations: 0 / 335.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005239/0.01095, allocations: 406.4 kB / 335.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.01098, allocations: 33.7 kB / 335.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01099, allocations: 4 kB / 335.7 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.01121, allocations: 56.8 kB / 335.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01134, allocations: 47.91 kB / 335.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.01237, allocations: 1.446 MB / 337.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.01252, allocations: 51.88 kB / 337.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.01254, allocations: 19.98 kB / 337.3 MB, free: 3.262 MB / 298.7 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 9.886e-05/0.01264, allocations: 133.8 kB / 337.5 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.01266, allocations: 23.86 kB / 337.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.01269, allocations: 33.7 kB / 337.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.01269, allocations: 0 / 337.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01269, allocations: 0 / 337.5 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01269, allocations: 3.984 kB / 337.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.01327, allocations: 0.5176 MB / 338 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01327, allocations: 4 kB / 338 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.01334, allocations: 23.97 kB / 338.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.01346, allocations: 64.73 kB / 338.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.01347, allocations: 0 / 338.1 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/0.01429, allocations: 1.434 MB / 339.6 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01429, allocations: 4.031 kB / 339.6 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.01466, allocations: 328 kB / 339.9 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.01469, allocations: 39.78 kB / 339.9 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01471, allocations: 4 kB / 339.9 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01482, allocations: 27.97 kB / 340 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.01488, allocations: 23.95 kB / 340 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.01489, allocations: 4 kB / 340 MB, free: 440 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.015, allocations: 185.2 kB / 340.2 MB, free: 256 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.015, allocations: 3.938 kB / 340.2 MB, free: 252 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.01522, allocations: 67.89 kB / 340.2 MB, free: 184 kB / 298.7 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 9.087e-05/0.01531, allocations: 107.2 kB / 340.3 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.0158, allocations: 400.5 kB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0158, allocations: 4.25 kB / 340.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.01599, allocations: 202.6 kB / 340.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.01624, allocations: 44.42 kB / 341 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.01703, allocations: 0.5006 MB / 341.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.084e-05/0.01711, allocations: 138.2 kB / 341.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.01716, allocations: 24.48 kB / 341.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01716, allocations: 4 kB / 341.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.003962/0.02112, allocations: 4.341 MB / 346 MB, free: 10.32 MB / 314.7 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/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_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: 4.260863371193409]