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.0008133/0.0008133, allocations: 179.6 kB / 17.04 MB, free: 5.113 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.182/1.182, allocations: 223.3 MB / 241 MB, free: 11.82 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.0007286/0.0007286, allocations: 87.06 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002618, allocations: 11.94 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.193, allocations: 50.4 MB / 402.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.001954/0.195, allocations: 2.323 MB / 404.5 MB, free: 30.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.1957, allocations: 0.6413 MB / 405.2 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.1959, allocations: 4.594 kB / 405.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.414e-05/0.196, allocations: 35.7 kB / 405.2 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1961, allocations: 70.31 kB / 405.3 MB, free: 29.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1963, allocations: 71.84 kB / 405.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1965, allocations: 310.7 kB / 405.7 MB, free: 29.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1966, allocations: 70.92 kB / 405.7 MB, free: 29.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.1967, allocations: 111.5 kB / 405.8 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1969, allocations: 127.4 kB / 406 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.1969, allocations: 16 kB / 406 MB, free: 28.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.1969, allocations: 16 kB / 406 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.197, allocations: 43.77 kB / 406 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.197, allocations: 74.17 kB / 406.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1972, allocations: 240.8 kB / 406.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1972, allocations: 0 / 406.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1972, allocations: 4 kB / 406.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1972, allocations: 0 / 406.3 MB, free: 28.46 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.0008494/0.1981, allocations: 0.6028 MB / 406.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.583e-05/0.1981, allocations: 8.031 kB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.1982, allocations: 35.61 kB / 407 MB, free: 27.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1984, allocations: 262.5 kB / 407.2 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1984, allocations: 20.44 kB / 407.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1984, allocations: 16 kB / 407.3 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.199, allocations: 285.8 kB / 407.6 MB, free: 27.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.199, allocations: 4 kB / 407.6 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.199, allocations: 11.95 kB / 407.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.199, allocations: 4 kB / 407.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.1997, allocations: 281.5 kB / 407.9 MB, free: 26.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2009, allocations: 0.9219 MB / 408.8 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.2022, allocations: 495.5 kB / 409.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.2025, allocations: 108.7 kB / 409.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2025, allocations: 0 / 409.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.2029, allocations: 185.8 kB / 409.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2029, allocations: 0 / 409.6 MB, free: 25.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001775/0.2047, allocations: 0.6512 MB / 410.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2048, allocations: 106.8 kB / 410.3 MB, free: 24.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.205, allocations: 266.6 kB / 410.6 MB, free: 23.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.205, allocations: 29.7 kB / 410.6 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.2051, allocations: 191.6 kB / 410.8 MB, free: 23.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2051, allocations: 35.55 kB / 410.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2051, allocations: 4 kB / 410.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.2051, allocations: 334.8 kB / 411.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.2054, allocations: 107.9 kB / 411.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.2058, allocations: 213.6 kB / 411.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.2061, allocations: 149.6 kB / 411.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.2061, allocations: 0 / 411.6 MB, free: 22.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009902/0.2071, allocations: 474.9 kB / 412.1 MB, free: 22.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2071, allocations: 33.7 kB / 412.1 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2071, allocations: 4 kB / 412.1 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.2074, allocations: 64.88 kB / 412.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.2076, allocations: 67.89 kB / 412.2 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.209, allocations: 1.518 MB / 413.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.2093, allocations: 63.75 kB / 413.8 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2094, allocations: 15.98 kB / 413.8 MB, free: 20.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/0.2095, allocations: 137.8 kB / 414 MB, free: 20.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.2095, allocations: 31.67 kB / 414 MB, free: 20.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.2095, allocations: 21.7 kB / 414 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2095, allocations: 4.375 kB / 414 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2095, allocations: 0 / 414 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2096, allocations: 0 / 414 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.2106, allocations: 0.6902 MB / 414.7 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2106, allocations: 0 / 414.7 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.2108, allocations: 27.97 kB / 414.7 MB, free: 19.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.211, allocations: 64.81 kB / 414.8 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.211, allocations: 4 kB / 414.8 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.2124, allocations: 1.514 MB / 416.3 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2124, allocations: 0 / 416.3 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.2132, allocations: 427.9 kB / 416.7 MB, free: 17.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2133, allocations: 96.91 kB / 416.8 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.2133, allocations: 8 kB / 416.8 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.2136, allocations: 35.97 kB / 416.9 MB, free: 17.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.2137, allocations: 19.95 kB / 416.9 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2137, allocations: 15.95 kB / 416.9 MB, free: 17.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.2138, allocations: 193.9 kB / 417.1 MB, free: 16.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2138, allocations: 0 / 417.1 MB, free: 16.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.2141, allocations: 63.84 kB / 417.2 MB, free: 16.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.2142, allocations: 111.2 kB / 417.3 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.215, allocations: 414 kB / 417.7 MB, free: 16.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.215, allocations: 0 / 417.7 MB, free: 16.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.2154, allocations: 223.2 kB / 417.9 MB, free: 16.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2157, allocations: 59.17 kB / 418 MB, free: 16.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.2164, allocations: 0.5306 MB / 418.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2166, allocations: 0.7482 MB / 419.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.2166, allocations: 19.44 kB / 419.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2167, allocations: 0 / 419.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Templates: time 0.004294/0.2209, allocations: 4.09 MB / 423.3 MB, free: 10.6 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/jenkins1/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