Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 108.4 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 47.92 kB / 350.1 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003955/0.3512, allocations: 2.777 MB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3526, allocations: 0.6778 MB / 402.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3528, allocations: 4 kB / 402.9 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3531, allocations: 35.7 kB / 403 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3533, allocations: 75.44 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.3536, allocations: 75.88 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.354, allocations: 326.6 kB / 403.4 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3542, allocations: 84.98 kB / 403.5 MB, free: 29.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3543, allocations: 119.4 kB / 403.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3545, allocations: 139.4 kB / 403.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.3546, allocations: 20 kB / 403.8 MB, free: 29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.176e-05/0.3546, allocations: 16 kB / 403.8 MB, free: 28.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.3547, allocations: 51.77 kB / 403.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3548, allocations: 135.2 kB / 404 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3551, allocations: 300.5 kB / 404.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3551, allocations: 4 kB / 404.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3551, allocations: 4 kB / 404.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3551, allocations: 0 / 404.3 MB, free: 28.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001257/0.3564, allocations: 0.6418 MB / 404.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3565, allocations: 12.03 kB / 405 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3565, allocations: 24.66 kB / 405 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3569, allocations: 275.6 kB / 405.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3569, allocations: 16.81 kB / 405.3 MB, free: 27.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.357, allocations: 20.38 kB / 405.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.3577, allocations: 278.1 kB / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.3577, allocations: 0 / 405.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3577, allocations: 16 kB / 405.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3578, allocations: 4 kB / 405.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.3585, allocations: 249.5 kB / 405.8 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.36, allocations: 0.8946 MB / 406.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3615, allocations: 451.4 kB / 407.2 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.3618, allocations: 92.72 kB / 407.2 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3618, allocations: 7.922 kB / 407.3 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.3623, allocations: 165.9 kB / 407.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.375e-06/0.3624, allocations: 0 / 407.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.00197/0.3643, allocations: 0.577 MB / 408 MB, free: 24.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.3644, allocations: 102.8 kB / 408.1 MB, free: 24.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.3647, allocations: 270.7 kB / 408.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3648, allocations: 29.7 kB / 408.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3649, allocations: 187.6 kB / 408.6 MB, free: 23.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3649, allocations: 31.55 kB / 408.6 MB, free: 23.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.365, allocations: 49.7 kB / 408.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3652, allocations: 334.8 kB / 409 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3655, allocations: 95.92 kB / 409.1 MB, free: 23.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.3658, allocations: 197.7 kB / 409.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.3665, allocations: 306.2 kB / 409.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3665, allocations: 0 / 409.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001094/0.3676, allocations: 423.8 kB / 410 MB, free: 22.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/0.3677, allocations: 41.69 kB / 410 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.3677, allocations: 8.062 kB / 410 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.3681, allocations: 52.83 kB / 410.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3683, allocations: 55.89 kB / 410.1 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.3704, allocations: 1.492 MB / 411.6 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.3708, allocations: 59.73 kB / 411.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3708, allocations: 12 kB / 411.7 MB, free: 20.54 MB / 298.7 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.0001632/0.371, allocations: 141.7 kB / 411.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.371, allocations: 19.81 kB / 411.8 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.3711, allocations: 29.64 kB / 411.9 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3711, allocations: 4 kB / 411.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3711, allocations: 4 kB / 411.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3711, allocations: 0 / 411.9 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.3723, allocations: 0.6473 MB / 412.5 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3723, allocations: 0 / 412.5 MB, free: 19.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.3725, allocations: 23.97 kB / 412.6 MB, free: 19.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.3727, allocations: 60.81 kB / 412.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3727, allocations: 0 / 412.6 MB, free: 19.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.3743, allocations: 1.488 MB / 414.1 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3743, allocations: 0 / 414.1 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.3757, allocations: 1.052 MB / 415.2 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.3757, allocations: 92.92 kB / 415.2 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.3758, allocations: 8 kB / 415.3 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.376, allocations: 35.95 kB / 415.3 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.3761, allocations: 11.98 kB / 415.3 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3761, allocations: 7.984 kB / 415.3 MB, free: 16.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3763, allocations: 190 kB / 415.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3763, allocations: 0 / 415.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.3768, allocations: 71.78 kB / 415.6 MB, free: 16.39 MB / 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: 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.0001465/0.3769, allocations: 107.2 kB / 415.7 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000902/0.3779, allocations: 394 kB / 416.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3779, allocations: 0 / 416.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.3782, allocations: 207.2 kB / 416.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3787, allocations: 51.72 kB / 416.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.3796, allocations: 0.6367 MB / 416.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3798, allocations: 0.7482 MB / 417.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.38, allocations: 30.27 kB / 417.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.38, allocations: 19.44 kB / 417.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.38, allocations: 0 / 417.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.006196/0.3862, allocations: 3.355 MB / 421.1 MB, free: 10.79 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches