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.001493/0.001493, allocations: 106.1 kB / 16.51 MB, free: 6.707 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.001943/0.001943, allocations: 191.9 kB / 17.43 MB, free: 6.066 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 53.33 kB / 300 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 49.44 MB / 349.4 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005342/0.1281, allocations: 2.776 MB / 352.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1299, allocations: 0.674 MB / 352.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1301, allocations: 4 kB / 352.9 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1303, allocations: 35.75 kB / 352.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.1306, allocations: 75.39 kB / 353 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1309, allocations: 83.91 kB / 353.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.1314, allocations: 330.6 kB / 353.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1317, allocations: 69.14 kB / 353.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1319, allocations: 123.4 kB / 353.6 MB, free: 452 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1322, allocations: 135.4 kB / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.1323, allocations: 20 kB / 353.7 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.788e-05/0.1323, allocations: 16 kB / 353.7 MB, free: 280 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.1324, allocations: 59.69 kB / 353.8 MB, free: 220 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.1326, allocations: 135.3 kB / 353.9 MB, free: 84 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.1331, allocations: 311.3 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1331, allocations: 0 / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1331, allocations: 0 / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1332, allocations: 0 / 354.2 MB, free: 15.77 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.001567/0.1347, allocations: 0.6339 MB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1348, allocations: 12.03 kB / 354.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1349, allocations: 28.56 kB / 354.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.1353, allocations: 267.7 kB / 355.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.1354, allocations: 16.81 kB / 355.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.1355, allocations: 24.36 kB / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.1364, allocations: 274.1 kB / 355.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1365, allocations: 0 / 355.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.1365, allocations: 15.98 kB / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1365, allocations: 4 kB / 355.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.1377, allocations: 253.5 kB / 355.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1399, allocations: 0.9024 MB / 356.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.142, allocations: 439.5 kB / 357.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.1425, allocations: 92.72 kB / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1425, allocations: 3.938 kB / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006821/0.1432, allocations: 165.9 kB / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.004e-06/0.1433, allocations: 0 / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002818/0.1461, allocations: 0.5773 MB / 357.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.1462, allocations: 110.7 kB / 358 MB, free: 11.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.1466, allocations: 274.8 kB / 358.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.1467, allocations: 29.64 kB / 358.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1468, allocations: 191.6 kB / 358.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1469, allocations: 31.55 kB / 358.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.147, allocations: 53.61 kB / 358.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1472, allocations: 330.8 kB / 358.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.1477, allocations: 99.91 kB / 359 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.1483, allocations: 201.6 kB / 359.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.1492, allocations: 296.3 kB / 359.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1493, allocations: 4 kB / 359.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001656/0.1509, allocations: 423.8 kB / 359.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.151, allocations: 37.7 kB / 359.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.151, allocations: 4 kB / 359.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.1515, allocations: 60.75 kB / 360 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.1518, allocations: 52.03 kB / 360.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.1546, allocations: 1.495 MB / 361.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.1551, allocations: 51.66 kB / 361.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.1552, allocations: 12 kB / 361.6 MB, free: 7.824 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.0002511/0.1554, allocations: 145.2 kB / 361.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.1555, allocations: 23.72 kB / 361.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.1556, allocations: 33.58 kB / 361.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1556, allocations: 4 kB / 361.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1556, allocations: 0 / 361.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1556, allocations: 3.984 kB / 361.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1575, allocations: 0.6318 MB / 362.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.1575, allocations: 8 kB / 362.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1577, allocations: 19.98 kB / 362.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/0.158, allocations: 60.75 kB / 362.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.1581, allocations: 0 / 362.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.1608, allocations: 1.492 MB / 364 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1608, allocations: 3.938 kB / 364 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.1622, allocations: 395.9 kB / 364.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1624, allocations: 96.86 kB / 364.5 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.1624, allocations: 7.984 kB / 364.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.1628, allocations: 35.91 kB / 364.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1629, allocations: 19.97 kB / 364.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1629, allocations: 0 / 364.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.1632, allocations: 201.9 kB / 364.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1632, allocations: 0 / 364.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.1639, allocations: 59.91 kB / 364.8 MB, free: 4.367 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.0002841/0.1642, allocations: 107.2 kB / 364.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.1656, allocations: 390.2 kB / 365.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1656, allocations: 3.938 kB / 365.3 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.1662, allocations: 202.5 kB / 365.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.1668, allocations: 44.97 kB / 365.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1682, allocations: 0.5103 MB / 366.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1686, allocations: 0.7443 MB / 366.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.1688, allocations: 22.3 kB / 366.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.1689, allocations: 19.44 kB / 366.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1689, allocations: 0 / 366.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of Templates: time 0.2073/0.3762, allocations: 3.217 MB / 370.1 MB, free: 25.77 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