Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009592/0.0009592, allocations: 196.4 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008028/0.0008028, allocations: 95.83 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 8 kB / 360.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 51.42 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002798/0.3413, allocations: 2.342 MB / 414.4 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3426, allocations: 0.9064 MB / 415.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3427, allocations: 7.938 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3429, allocations: 34.23 kB / 415.4 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.3431, allocations: 75.44 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3433, allocations: 79.84 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.3437, allocations: 332.1 kB / 415.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3439, allocations: 73.77 kB / 415.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3441, allocations: 111.5 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3443, allocations: 135.4 kB / 416.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.3443, allocations: 12 kB / 416.2 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.3444, allocations: 16 kB / 416.2 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3444, allocations: 51.7 kB / 416.2 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3446, allocations: 149 kB / 416.4 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3448, allocations: 300.3 kB / 416.7 MB, free: 21.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3448, allocations: 3.938 kB / 416.7 MB, free: 21.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3448, allocations: 0 / 416.7 MB, free: 21.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3449, allocations: 0 / 416.7 MB, free: 21.21 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.001115/0.346, allocations: 0.6108 MB / 417.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.346, allocations: 11.97 kB / 417.3 MB, free: 20.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.3461, allocations: 32.56 kB / 417.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3464, allocations: 267.8 kB / 417.6 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.3464, allocations: 16.81 kB / 417.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.3465, allocations: 16.38 kB / 417.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.3471, allocations: 294.1 kB / 417.9 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3471, allocations: 3.938 kB / 417.9 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.3471, allocations: 8 kB / 417.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3472, allocations: 8 kB / 417.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.3478, allocations: 273.6 kB / 418.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3491, allocations: 0.9258 MB / 419.1 MB, free: 18.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.3506, allocations: 495.4 kB / 419.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3509, allocations: 108.7 kB / 419.7 MB, free: 17.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3509, allocations: 4 kB / 419.7 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.3514, allocations: 177.8 kB / 419.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3514, allocations: 0 / 419.9 MB, free: 17.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001831/0.3532, allocations: 0.6474 MB / 420.5 MB, free: 17.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.3533, allocations: 114.8 kB / 420.6 MB, free: 16.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3536, allocations: 266.6 kB / 420.9 MB, free: 16.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3536, allocations: 29.7 kB / 420.9 MB, free: 16.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3537, allocations: 183.7 kB / 421.1 MB, free: 16.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.3537, allocations: 35.53 kB / 421.1 MB, free: 16.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.3538, allocations: 8 kB / 421.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.3539, allocations: 334.8 kB / 421.5 MB, free: 16.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.3542, allocations: 107.9 kB / 421.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3545, allocations: 218 kB / 421.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.3551, allocations: 325.4 kB / 422.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3551, allocations: 4 kB / 422.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009842/0.3561, allocations: 471.8 kB / 422.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.3561, allocations: 37.62 kB / 422.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3562, allocations: 4 kB / 422.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.3565, allocations: 68.88 kB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.3567, allocations: 55.91 kB / 422.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3586, allocations: 1.526 MB / 424.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3589, allocations: 63.83 kB / 424.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.3589, allocations: 16 kB / 424.4 MB, free: 12.96 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 ($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 (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.0001508/0.3591, allocations: 137.7 kB / 424.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3591, allocations: 23.72 kB / 424.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.3592, allocations: 37.64 kB / 424.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3592, allocations: 0 / 424.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3592, allocations: 0 / 424.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3592, allocations: 0 / 424.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3604, allocations: 0.6785 MB / 425.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3604, allocations: 4 kB / 425.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.3605, allocations: 35.91 kB / 425.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.3607, allocations: 68.75 kB / 425.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3607, allocations: 0 / 425.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.3622, allocations: 1.514 MB / 426.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3623, allocations: 0 / 426.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3631, allocations: 432 kB / 427.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.3632, allocations: 96.92 kB / 427.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.3632, allocations: 11.94 kB / 427.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3635, allocations: 43.89 kB / 427.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.3636, allocations: 15.98 kB / 427.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3636, allocations: 3.984 kB / 427.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3638, allocations: 194 kB / 427.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 0 / 427.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.3641, allocations: 63.84 kB / 427.7 MB, free: 9.379 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.0001967/0.3644, allocations: 109.9 kB / 427.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.3653, allocations: 417.9 kB / 428.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3653, allocations: 0 / 428.2 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.3657, allocations: 223.2 kB / 428.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3661, allocations: 44.39 kB / 428.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.367, allocations: 0.5328 MB / 429 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3673, allocations: 0.7443 MB / 429.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3674, allocations: 26.28 kB / 429.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.3675, allocations: 19.44 kB / 429.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3675, allocations: 0 / 429.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of Templates: time 0.006492/0.374, allocations: 3.195 MB / 433 MB, free: 4.004 MB / 298.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches