Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008545/0.0008546, allocations: 95.73 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002892/0.3217, allocations: 2.302 MB / 378.9 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3229, allocations: 0.77 MB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3231, allocations: 3.562 kB / 379.7 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.3232, allocations: 30.8 kB / 379.7 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3234, allocations: 76.28 kB / 379.8 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.3237, allocations: 83.61 kB / 379.9 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.324, allocations: 331 kB / 380.2 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.3242, allocations: 66.95 kB / 380.3 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3244, allocations: 118.5 kB / 380.4 MB, free: 42.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3246, allocations: 131.4 kB / 380.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.3246, allocations: 14.88 kB / 380.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.3247, allocations: 16.19 kB / 380.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.3247, allocations: 46.17 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3249, allocations: 157 kB / 380.7 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.3252, allocations: 306.9 kB / 381 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3252, allocations: 0 / 381 MB, free: 42.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3252, allocations: 7.938 kB / 381 MB, free: 42.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3252, allocations: 1.375 kB / 381 MB, free: 42.17 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.001095/0.3263, allocations: 0.5974 MB / 381.6 MB, free: 41.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3264, allocations: 9.094 kB / 381.6 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.3264, allocations: 27.28 kB / 381.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3267, allocations: 274.9 kB / 381.9 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3268, allocations: 21.94 kB / 382 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.3268, allocations: 21.91 kB / 382 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.3275, allocations: 262 kB / 382.2 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3275, allocations: 8 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3275, allocations: 6.281 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3275, allocations: 5.031 kB / 382.3 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.3283, allocations: 284.6 kB / 382.5 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.33, allocations: 0.8538 MB / 383.4 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.3307, allocations: 311.4 kB / 383.7 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.331, allocations: 97.89 kB / 383.8 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.331, allocations: 9.328 kB / 383.8 MB, free: 40.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004718/0.3315, allocations: 183.9 kB / 384 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/0.3315, allocations: 0 / 384 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001815/0.3333, allocations: 0.6407 MB / 384.6 MB, free: 39.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3334, allocations: 105.3 kB / 384.7 MB, free: 39.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3337, allocations: 261.1 kB / 385 MB, free: 39.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3337, allocations: 31.92 kB / 385 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.3338, allocations: 182.7 kB / 385.2 MB, free: 39.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.3338, allocations: 44.81 kB / 385.2 MB, free: 39.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.3338, allocations: 5.406 kB / 385.2 MB, free: 39.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.3339, allocations: 340 kB / 385.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.3342, allocations: 108.3 kB / 385.7 MB, free: 38.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.3346, allocations: 197.6 kB / 385.9 MB, free: 38.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.3352, allocations: 316.6 kB / 386.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3352, allocations: 1.094 kB / 386.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001022/0.3362, allocations: 467.5 kB / 386.6 MB, free: 38.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.3363, allocations: 213.1 kB / 386.8 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.3363, allocations: 4 kB / 386.8 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/0.3367, allocations: 124.8 kB / 387 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.337, allocations: 59.91 kB / 387 MB, free: 37.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.3382, allocations: 1.495 MB / 388.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.3385, allocations: 59.81 kB / 388.6 MB, free: 35.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.3386, allocations: 11.98 kB / 388.6 MB, free: 35.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.3386, allocations: 6.812 kB / 388.6 MB, free: 35.88 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006235/0.3392, allocations: 326.3 kB / 388.9 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3392, allocations: 4 kB / 388.9 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.344e-05/0.3393, allocations: 24.84 kB / 388.9 MB, free: 35.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.3395, allocations: 59.89 kB / 389 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/0.3401, allocations: 1.385 MB / 390.4 MB, free: 33.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.3404, allocations: 51.84 kB / 390.4 MB, free: 33.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3404, allocations: 12 kB / 390.5 MB, free: 33.88 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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * 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.0001559/0.3406, allocations: 216.9 kB / 390.7 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3406, allocations: 23.72 kB / 390.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.3407, allocations: 29.7 kB / 390.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3407, allocations: 0 / 390.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3407, allocations: 7.938 kB / 390.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3407, allocations: 0 / 390.7 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/0.3416, allocations: 0.6552 MB / 391.4 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3417, allocations: 0 / 391.4 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.3418, allocations: 27.97 kB / 391.4 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.342, allocations: 56.77 kB / 391.5 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.342, allocations: 4 kB / 391.5 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.343, allocations: 1.487 MB / 393 MB, free: 31.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3431, allocations: 4.062 kB / 393 MB, free: 31.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.3437, allocations: 403.9 kB / 393.4 MB, free: 30.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3438, allocations: 104.8 kB / 393.5 MB, free: 30.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3438, allocations: 7.938 kB / 393.5 MB, free: 30.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.3441, allocations: 39.97 kB / 393.5 MB, free: 30.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.3442, allocations: 15.97 kB / 393.5 MB, free: 30.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.3442, allocations: 8 kB / 393.5 MB, free: 30.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3444, allocations: 190 kB / 393.7 MB, free: 30.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3444, allocations: 3.938 kB / 393.7 MB, free: 30.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005068/0.3449, allocations: 111.8 kB / 393.8 MB, free: 30.27 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.345, allocations: 111.2 kB / 393.9 MB, free: 30.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.3463, allocations: 0.7002 MB / 394.6 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3463, allocations: 192 / 394.6 MB, free: 29.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.3466, allocations: 226.5 kB / 394.9 MB, free: 29.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.3471, allocations: 50.84 kB / 394.9 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.348, allocations: 0.5393 MB / 395.4 MB, free: 28.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.3481, allocations: 0.7405 MB / 396.2 MB, free: 27.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.3483, allocations: 34.31 kB / 396.2 MB, free: 27.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.3483, allocations: 19.44 kB / 396.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3484, allocations: 4 kB / 396.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of Templates: time 0.006458/0.3548, allocations: 3.515 MB / 399.8 MB, free: 24.25 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches