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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 110.2 kB / 17.17 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002444/0.002444, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.077/3.077, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 43.31 kB / 300.6 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.171, allocations: 49.44 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.007389/0.1785, allocations: 2.776 MB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.181, allocations: 0.6739 MB / 353.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1813, allocations: 4 kB / 353.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.1817, allocations: 39.7 kB / 353.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.1821, allocations: 67.47 kB / 353.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.1826, allocations: 83.84 kB / 353.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.1832, allocations: 330.6 kB / 354 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1835, allocations: 87.38 kB / 354.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1838, allocations: 115.6 kB / 354.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1841, allocations: 143.3 kB / 354.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.1842, allocations: 16 kB / 354.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.1843, allocations: 20 kB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.1844, allocations: 47.77 kB / 354.4 MB, free: 452 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1847, allocations: 135.3 kB / 354.6 MB, free: 316 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.1851, allocations: 239.7 kB / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1851, allocations: 0 / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1851, allocations: 0 / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1852, allocations: 0 / 354.8 MB, free: 76 kB / 286.1 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.002136/0.1873, allocations: 0.638 MB / 355.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.1874, allocations: 12.03 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.1876, allocations: 32.59 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.1881, allocations: 275.7 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1882, allocations: 16.81 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.1883, allocations: 16.38 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.1895, allocations: 282.1 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1895, allocations: 3.938 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1895, allocations: 8 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1896, allocations: 4 kB / 356.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1911, allocations: 249.5 kB / 356.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.194, allocations: 0.8985 MB / 357.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.197, allocations: 447.4 kB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/0.1976, allocations: 88.73 kB / 357.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.1977, allocations: 4 kB / 357.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008813/0.1986, allocations: 174.3 kB / 357.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 3.607e-06/0.1986, allocations: 3.938 kB / 357.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.00381/0.2024, allocations: 0.5692 MB / 358.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.2026, allocations: 106.8 kB / 358.6 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.2032, allocations: 266.7 kB / 358.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.2033, allocations: 25.7 kB / 358.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.2035, allocations: 199.5 kB / 359.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.2036, allocations: 31.61 kB / 359.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.2038, allocations: 49.61 kB / 359.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.204, allocations: 334.8 kB / 359.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.2047, allocations: 91.92 kB / 359.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008001/0.2055, allocations: 209.5 kB / 359.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.2068, allocations: 299.4 kB / 360.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2069, allocations: 0 / 360.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002325/0.2092, allocations: 423.9 kB / 360.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/0.2093, allocations: 37.7 kB / 360.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2093, allocations: 80 / 360.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005433/0.2099, allocations: 61.25 kB / 360.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.2103, allocations: 59.89 kB / 360.6 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.2142, allocations: 1.499 MB / 362.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.215, allocations: 55.81 kB / 362.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.215, allocations: 8 kB / 362.2 MB, free: 8.109 MB / 302.1 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.0003049/0.2153, allocations: 157.1 kB / 362.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.2154, allocations: 19.72 kB / 362.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2156, allocations: 29.64 kB / 362.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2156, allocations: 0 / 362.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2156, allocations: 4 kB / 362.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.2156, allocations: 0 / 362.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.2181, allocations: 0.6396 MB / 363.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2181, allocations: 0 / 363.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.2184, allocations: 27.97 kB / 363.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.2189, allocations: 60.81 kB / 363.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.219, allocations: 3.938 kB / 363.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/0.2225, allocations: 1.48 MB / 364.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2225, allocations: 0 / 364.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.2246, allocations: 395.9 kB / 365 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2248, allocations: 100.8 kB / 365.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.2249, allocations: 8 kB / 365.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.2254, allocations: 27.91 kB / 365.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2255, allocations: 19.97 kB / 365.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.2256, allocations: 4 kB / 365.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.2259, allocations: 198.1 kB / 365.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2259, allocations: 0 / 365.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000618/0.2265, allocations: 63.84 kB / 365.4 MB, free: 4.656 MB / 302.1 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.0002281/0.2268, allocations: 111.2 kB / 365.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.2281, allocations: 389.8 kB / 365.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2281, allocations: 0 / 365.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.2287, allocations: 199.4 kB / 366.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.2293, allocations: 40.53 kB / 366.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.231, allocations: 0.5418 MB / 366.7 MB, free: 3.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.2316, allocations: 0.7443 MB / 367.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.2317, allocations: 19.44 kB / 367.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2317, allocations: 0 / 367.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of Templates: time 0.276/0.5078, allocations: 4.105 MB / 371.6 MB, free: 25.3 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches