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.001442/0.001442, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001703/0.001703, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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 1.503e-06/1.503e-06, allocations: 0 / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.898e-05/4.049e-05, allocations: 2.312 kB / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004601/0.004642, allocations: 2.608 MB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.006353, allocations: 0.6698 MB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.006529, allocations: 7.938 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.006707, allocations: 43.56 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.006964, allocations: 103.1 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.007272, allocations: 79.83 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.007757, allocations: 358.3 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.007968, allocations: 64.88 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.008255, allocations: 199.5 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.008453, allocations: 107.7 kB / 276.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.182e-05/0.008515, allocations: 28 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.008568, allocations: 32 kB / 276.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.008653, allocations: 63.69 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.008806, allocations: 107.7 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.009294, allocations: 334.9 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.009299, allocations: 0 / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0093, allocations: 0 / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.009307, allocations: 0 / 277 MB, free: 12.96 MB / 266.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.001274/0.01058, allocations: 0.5585 MB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.01063, allocations: 11.98 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.01075, allocations: 48.75 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.01125, allocations: 229.2 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.01128, allocations: 16.88 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.01132, allocations: 24.38 kB / 277.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.01198, allocations: 313.7 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.01199, allocations: 192 / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.01201, allocations: 8.375 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.01203, allocations: 11.94 kB / 278.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/0.01268, allocations: 225.8 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.01457, allocations: 0.7354 MB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.01514, allocations: 162.6 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.0154, allocations: 80.75 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.01543, allocations: 8.031 kB / 279.4 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005099/0.01594, allocations: 251.7 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.01594, allocations: 0 / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001422/0.01737, allocations: 358 kB / 280 MB, free: 9.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.0175, allocations: 140.5 kB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.01784, allocations: 257.9 kB / 280.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.01788, allocations: 29.7 kB / 280.4 MB, free: 9.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.01806, allocations: 196 kB / 280.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.01811, allocations: 39.69 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.01821, allocations: 53.89 kB / 280.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.01842, allocations: 334.8 kB / 281 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.01873, allocations: 110 kB / 281.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004638/0.01919, allocations: 301.4 kB / 281.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.01982, allocations: 271.5 kB / 281.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.01983, allocations: 4 kB / 281.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001021/0.02085, allocations: 417.2 kB / 282.1 MB, free: 7.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.0209, allocations: 33.7 kB / 282.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.02091, allocations: 0 / 282.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.02141, allocations: 81.14 kB / 282.2 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.02167, allocations: 51.91 kB / 282.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.0237, allocations: 1.438 MB / 283.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.02402, allocations: 55.75 kB / 283.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.02405, allocations: 12.06 kB / 283.8 MB, free: 5.652 MB / 266.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 0.000196/0.02424, allocations: 150 kB / 283.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.0243, allocations: 27.86 kB / 284 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.02435, allocations: 25.7 kB / 284 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.02435, allocations: 4 kB / 284 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.02436, allocations: 0 / 284 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02436, allocations: 0 / 284 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.02552, allocations: 0.5143 MB / 284.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02552, allocations: 0 / 284.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.02567, allocations: 23.97 kB / 284.5 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.02604, allocations: 72.78 kB / 284.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.02606, allocations: 4 kB / 284.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.02824, allocations: 1.45 MB / 286.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02825, allocations: 0 / 286.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.0291, allocations: 348 kB / 286.4 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.02914, allocations: 19.8 kB / 286.4 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.02918, allocations: 8 kB / 286.4 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.02943, allocations: 27.95 kB / 286.5 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.02954, allocations: 23.97 kB / 286.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.02956, allocations: 4 kB / 286.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.02979, allocations: 185.2 kB / 286.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02979, allocations: 0 / 286.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004051/0.03019, allocations: 71.89 kB / 286.7 MB, free: 2.535 MB / 266.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 0.000178/0.03037, allocations: 103.2 kB / 286.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009358/0.03131, allocations: 403 kB / 287.2 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.03131, allocations: 3.938 kB / 287.2 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.03174, allocations: 210 kB / 287.4 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.03217, allocations: 48.39 kB / 287.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.03363, allocations: 493.8 kB / 288 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.0338, allocations: 142 kB / 288.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.0339, allocations: 22.28 kB / 288.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.941e-05/0.03398, allocations: 24.5 kB / 288.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03398, allocations: 4 kB / 288.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of Templates: time 0.008858/0.04284, allocations: 3.817 MB / 292 MB, free: 13.25 MB / 282.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.623834813013673]