Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008344/0.0008346, allocations: 182.2 kB / 16.71 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 243.2 MB, free: 8.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007456/0.0007458, allocations: 98.44 kB / 294.4 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002528, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.001933/0.2298, allocations: 2.317 MB / 406.9 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.2306, allocations: 0.7292 MB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.506e-05/0.2307, allocations: 4 kB / 407.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.2308, allocations: 31.75 kB / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.231, allocations: 75.39 kB / 407.7 MB, free: 28.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.2311, allocations: 83.86 kB / 407.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.2314, allocations: 335.2 kB / 408.2 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2315, allocations: 71.41 kB / 408.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.2316, allocations: 115.5 kB / 408.3 MB, free: 27.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2318, allocations: 131.4 kB / 408.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.2318, allocations: 19.94 kB / 408.5 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.2319, allocations: 18 kB / 408.5 MB, free: 27.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2319, allocations: 43.77 kB / 408.5 MB, free: 27.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.232, allocations: 153 kB / 408.7 MB, free: 27.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2322, allocations: 308.4 kB / 409 MB, free: 26.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2322, allocations: 0 / 409 MB, free: 26.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2322, allocations: 4 kB / 409 MB, free: 26.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.2322, allocations: 0 / 409 MB, free: 26.89 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.0008583/0.2331, allocations: 0.5952 MB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.2331, allocations: 15.97 kB / 409.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2332, allocations: 28.56 kB / 409.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2334, allocations: 271.7 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2334, allocations: 12.81 kB / 409.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.2335, allocations: 28.38 kB / 409.9 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.234, allocations: 290.1 kB / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.234, allocations: 0 / 410.2 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.234, allocations: 8 kB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2341, allocations: 4 kB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.2347, allocations: 273.5 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2359, allocations: 0.9297 MB / 411.4 MB, free: 24.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2371, allocations: 491.5 kB / 411.9 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2374, allocations: 116.7 kB / 412 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2374, allocations: 0 / 412 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.2378, allocations: 173.9 kB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.2378, allocations: 3.984 kB / 412.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001757/0.2396, allocations: 0.6589 MB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2396, allocations: 102.8 kB / 413 MB, free: 22.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2398, allocations: 274.6 kB / 413.2 MB, free: 22.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2399, allocations: 29.7 kB / 413.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.2399, allocations: 183.7 kB / 413.4 MB, free: 22.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.24, allocations: 31.55 kB / 413.5 MB, free: 22.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.24, allocations: 8 kB / 413.5 MB, free: 22.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.24, allocations: 338.8 kB / 413.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.2403, allocations: 107.9 kB / 413.9 MB, free: 21.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.2406, allocations: 205.6 kB / 414.1 MB, free: 21.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005541/0.2412, allocations: 329.5 kB / 414.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2412, allocations: 0 / 414.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009439/0.2422, allocations: 475.7 kB / 414.9 MB, free: 20.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2422, allocations: 37.77 kB / 414.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2422, allocations: 8 kB / 414.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.2425, allocations: 64.75 kB / 415 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.2427, allocations: 59.97 kB / 415.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.2441, allocations: 1.53 MB / 416.6 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2444, allocations: 55.75 kB / 416.7 MB, free: 18.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/0.2445, allocations: 8 kB / 416.7 MB, free: 18.67 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 9.041e-05/0.2446, allocations: 149.8 kB / 416.8 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.2446, allocations: 23.72 kB / 416.8 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.2446, allocations: 25.64 kB / 416.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2446, allocations: 4 kB / 416.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2446, allocations: 0 / 416.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2447, allocations: 3.984 kB / 416.9 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2457, allocations: 0.6828 MB / 417.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2457, allocations: 4.078 kB / 417.6 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2458, allocations: 31.92 kB / 417.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.246, allocations: 60.81 kB / 417.6 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.246, allocations: 0 / 417.6 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2474, allocations: 1.518 MB / 419.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2474, allocations: 4.031 kB / 419.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.2482, allocations: 435.9 kB / 419.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2482, allocations: 96.83 kB / 419.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.2483, allocations: 7.984 kB / 419.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2485, allocations: 43.91 kB / 419.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.2486, allocations: 19.91 kB / 419.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2486, allocations: 8 kB / 419.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2487, allocations: 186 kB / 419.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2488, allocations: 0 / 419.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.249, allocations: 67.83 kB / 420 MB, free: 15.08 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 8.914e-05/0.2491, allocations: 107.2 kB / 420.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007293/0.2499, allocations: 425.8 kB / 420.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2499, allocations: 0.6875 kB / 420.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.2502, allocations: 222.6 kB / 420.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2506, allocations: 45.8 kB / 420.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.2512, allocations: 0.53 MB / 421.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2514, allocations: 0.7404 MB / 422.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2515, allocations: 30.27 kB / 422.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.2515, allocations: 23.44 kB / 422.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2515, allocations: 0 / 422.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of Templates: time 0.005052/0.2566, allocations: 3.201 MB / 425.3 MB, free: 9.695 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/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