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.001636/0.001636, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002114/0.002114, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.17 kB / 300.6 MB, free: 5.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1335, allocations: 49.43 MB / 350.1 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005181/0.1387, allocations: 2.726 MB / 352.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1407, allocations: 0.6856 MB / 353.5 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.1411, allocations: 11.88 kB / 353.5 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.1414, allocations: 39.58 kB / 353.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.1418, allocations: 87.27 kB / 353.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1422, allocations: 91.81 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006705/0.1429, allocations: 346.6 kB / 354 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.1432, allocations: 96.48 kB / 354.1 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.1435, allocations: 127.6 kB / 354.3 MB, free: 160 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.1439, allocations: 151.3 kB / 354.4 MB, free: 8 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1441, allocations: 28.05 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1442, allocations: 32 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1443, allocations: 63.7 kB / 354.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.1446, allocations: 143.3 kB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.1451, allocations: 311.2 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.1451, allocations: 4 kB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1451, allocations: 0 / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1452, allocations: 0 / 355 MB, free: 15.44 MB / 302.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.001797/0.147, allocations: 0.6379 MB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.147, allocations: 12.03 kB / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.1472, allocations: 28.64 kB / 355.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.1477, allocations: 267.6 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1478, allocations: 20.81 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1478, allocations: 20.38 kB / 356 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/0.1486, allocations: 278.1 kB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1486, allocations: 0 / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1487, allocations: 12 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1487, allocations: 8 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008492/0.1495, allocations: 245.5 kB / 356.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.1515, allocations: 0.9024 MB / 357.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.1532, allocations: 443.4 kB / 357.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.1535, allocations: 96.72 kB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1536, allocations: 0 / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.1541, allocations: 159.2 kB / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1541, allocations: 0 / 358.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002188/0.1563, allocations: 0.5925 MB / 358.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1564, allocations: 106.8 kB / 358.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.1567, allocations: 266.7 kB / 359 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1568, allocations: 29.7 kB / 359.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1569, allocations: 195.5 kB / 359.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.157, allocations: 23.62 kB / 359.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1571, allocations: 57.61 kB / 359.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1572, allocations: 334.8 kB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1576, allocations: 91.92 kB / 359.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.158, allocations: 201.6 kB / 359.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.1588, allocations: 305.4 kB / 360.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1588, allocations: 3.938 kB / 360.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001509/0.1603, allocations: 427.2 kB / 360.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.1604, allocations: 33.7 kB / 360.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.1604, allocations: 4 kB / 360.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1608, allocations: 64.88 kB / 360.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1611, allocations: 47.91 kB / 360.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.1642, allocations: 1.613 MB / 362.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.1647, allocations: 51.78 kB / 362.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.1648, allocations: 20 kB / 362.5 MB, free: 7.352 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.000272/0.165, allocations: 148.8 kB / 362.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.1651, allocations: 27.66 kB / 362.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.1652, allocations: 17.72 kB / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1652, allocations: 7.984 kB / 362.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1652, allocations: 4 kB / 362.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1652, allocations: 0 / 362.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1668, allocations: 0.6438 MB / 363.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1668, allocations: 0 / 363.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.167, allocations: 27.97 kB / 363.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.1672, allocations: 48.83 kB / 363.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.1672, allocations: 11.98 kB / 363.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.1695, allocations: 1.593 MB / 365 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1695, allocations: 0 / 365 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.1707, allocations: 395.8 kB / 365.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.1709, allocations: 104.8 kB / 365.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1709, allocations: 0 / 365.5 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.1712, allocations: 31.95 kB / 365.5 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.1713, allocations: 19.98 kB / 365.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1713, allocations: 4 kB / 365.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.1716, allocations: 190 kB / 365.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 365.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.172, allocations: 63.91 kB / 365.8 MB, free: 3.789 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.0001902/0.1722, allocations: 115 kB / 365.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.1733, allocations: 397.8 kB / 366.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1733, allocations: 0 / 366.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1737, allocations: 211.2 kB / 366.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1742, allocations: 56.77 kB / 366.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1753, allocations: 427.7 kB / 367 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.1758, allocations: 0.7439 MB / 367.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1759, allocations: 30.28 kB / 367.8 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.176, allocations: 19.44 kB / 367.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.176, allocations: 0 / 367.8 MB, free: 1.715 MB / 302.1 MB Notification: Performance of Templates: time 0.2303/0.4063, allocations: 3.516 MB / 371.3 MB, free: 25.42 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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