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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.00176, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004024/0.3044, allocations: 2.757 MB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3059, allocations: 0.7012 MB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3061, allocations: 0 / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3064, allocations: 43.58 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.3066, allocations: 95.25 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.307, allocations: 99.81 kB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.3074, allocations: 350.5 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.3077, allocations: 84.69 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3079, allocations: 143.4 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.3082, allocations: 139.4 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.3083, allocations: 31.94 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.951e-05/0.3083, allocations: 28 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.3084, allocations: 67.7 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.3086, allocations: 143.2 kB / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.309, allocations: 324 kB / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.309, allocations: 0 / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.309, allocations: 0 / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.309, allocations: 0 / 414.3 MB, free: 12.59 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.001307/0.3103, allocations: 0.6379 MB / 414.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3104, allocations: 16.03 kB / 414.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.3105, allocations: 28.64 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3109, allocations: 275.5 kB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3109, allocations: 16.8 kB / 415.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.311, allocations: 24.31 kB / 415.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3115, allocations: 282.1 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3116, allocations: 0 / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.3116, allocations: 4 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3116, allocations: 4 kB / 415.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.3123, allocations: 245.6 kB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.3138, allocations: 0.8984 MB / 416.7 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3152, allocations: 435.5 kB / 417.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.3155, allocations: 96.72 kB / 417.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3155, allocations: 3.984 kB / 417.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.3159, allocations: 169.8 kB / 417.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.316, allocations: 0 / 417.4 MB, free: 9.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001889/0.3178, allocations: 0.5657 MB / 417.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.3179, allocations: 114.8 kB / 418 MB, free: 8.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.3182, allocations: 270.6 kB / 418.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3182, allocations: 37.73 kB / 418.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3184, allocations: 187.6 kB / 418.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3184, allocations: 35.55 kB / 418.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.3185, allocations: 41.7 kB / 418.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3186, allocations: 338.8 kB / 418.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3189, allocations: 95.92 kB / 419 MB, free: 7.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.3193, allocations: 201.6 kB / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.3199, allocations: 300.9 kB / 419.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.32, allocations: 8 kB / 419.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001112/0.3211, allocations: 435.8 kB / 419.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.3211, allocations: 33.7 kB / 420 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3211, allocations: 4 kB / 420 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.3215, allocations: 60.81 kB / 420 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.3217, allocations: 51.94 kB / 420.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.3239, allocations: 1.609 MB / 421.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.3242, allocations: 55.66 kB / 421.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.3243, allocations: 12 kB / 421.8 MB, free: 4.512 MB / 334.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.000153/0.3244, allocations: 153.8 kB / 421.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.3245, allocations: 23.75 kB / 421.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.3245, allocations: 21.7 kB / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3245, allocations: 4 kB / 422 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3245, allocations: 0 / 422 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3246, allocations: 3.938 kB / 422 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3258, allocations: 0.6473 MB / 422.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3258, allocations: 0 / 422.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.326, allocations: 23.97 kB / 422.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/0.3262, allocations: 60.81 kB / 422.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3262, allocations: 3.938 kB / 422.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.3281, allocations: 1.597 MB / 424.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3282, allocations: 96 / 424.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/0.3291, allocations: 395.9 kB / 424.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3293, allocations: 96.83 kB / 424.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.3293, allocations: 4 kB / 424.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3296, allocations: 31.95 kB / 424.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.3296, allocations: 23.97 kB / 424.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3297, allocations: 3.984 kB / 424.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.3299, allocations: 194 kB / 425 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3299, allocations: 0 / 425 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.3302, allocations: 63.84 kB / 425.1 MB, free: 0.9219 MB / 334.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.0001409/0.3304, allocations: 103.2 kB / 425.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008891/0.3313, allocations: 394.6 kB / 425.6 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3313, allocations: 0 / 425.6 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.3317, allocations: 210.5 kB / 425.8 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3321, allocations: 51.83 kB / 425.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.3331, allocations: 439.4 kB / 426.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3334, allocations: 0.7402 MB / 427 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.3335, allocations: 26.28 kB / 427 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.3336, allocations: 19.44 kB / 427.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3336, allocations: 0 / 427.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.007305/0.3409, allocations: 3.572 MB / 430.6 MB, free: 11.33 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches