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.0008662/0.0008664, allocations: 90.25 kB / 16.65 MB, free: 6.59 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.0009773/0.0009773, allocations: 181.8 kB / 17.56 MB, free: 6.203 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.571/1.571, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003603, allocations: 11.94 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 50.41 MB / 351.9 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004262/0.1521, allocations: 2.417 MB / 354.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1537, allocations: 0.6585 MB / 354.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1539, allocations: 7.938 kB / 354.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.1541, allocations: 31.77 kB / 355 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1543, allocations: 75.39 kB / 355 MB, free: 500 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1547, allocations: 83.91 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1551, allocations: 330.6 kB / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1553, allocations: 73 kB / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1555, allocations: 111.5 kB / 355.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1557, allocations: 135.3 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.1557, allocations: 16 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.1558, allocations: 16 kB / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1559, allocations: 47.7 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.156, allocations: 157 kB / 356 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.1564, allocations: 299.1 kB / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1564, allocations: 4 kB / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1564, allocations: 0 / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1565, allocations: 0 / 356.3 MB, free: 15.23 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.001435/0.1579, allocations: 0.5952 MB / 356.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.158, allocations: 12.03 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.158, allocations: 40.5 kB / 356.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1584, allocations: 267.8 kB / 357.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1584, allocations: 20.81 kB / 357.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1585, allocations: 16.38 kB / 357.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.1592, allocations: 298 kB / 357.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1592, allocations: 0 / 357.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1592, allocations: 8 kB / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.1593, allocations: 8 kB / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.1601, allocations: 269.6 kB / 357.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1618, allocations: 0.9297 MB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.1635, allocations: 499.4 kB / 359.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.1638, allocations: 108.7 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1639, allocations: 3.984 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.1644, allocations: 193 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.1644, allocations: 0 / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002278/0.1667, allocations: 0.6434 MB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1668, allocations: 106.8 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.1671, allocations: 270.6 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1672, allocations: 29.7 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1673, allocations: 195.6 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1674, allocations: 23.7 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.1674, allocations: 29.7 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1676, allocations: 330.8 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.168, allocations: 111.9 kB / 361.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.1684, allocations: 217.5 kB / 361.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.1692, allocations: 329.5 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1692, allocations: 0 / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00127/0.1705, allocations: 475.7 kB / 362.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.1705, allocations: 33.7 kB / 362.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1706, allocations: 8 kB / 362.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.1709, allocations: 64.88 kB / 362.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1712, allocations: 63.89 kB / 362.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.1734, allocations: 1.526 MB / 363.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.1738, allocations: 63.78 kB / 364 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1739, allocations: 8.375 kB / 364 MB, free: 6.953 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.0001567/0.174, allocations: 145.7 kB / 364.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1741, allocations: 19.81 kB / 364.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1741, allocations: 25.66 kB / 364.2 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1741, allocations: 3.938 kB / 364.2 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1742, allocations: 3.984 kB / 364.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1742, allocations: 0 / 364.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.1756, allocations: 0.6825 MB / 364.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1756, allocations: 0 / 364.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1758, allocations: 39.91 kB / 364.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.176, allocations: 56.83 kB / 365 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.176, allocations: 3.984 kB / 365 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.1782, allocations: 1.515 MB / 366.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1782, allocations: 0 / 366.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1793, allocations: 436 kB / 366.9 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.1794, allocations: 100.8 kB / 367 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1795, allocations: 8 kB / 367 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.1798, allocations: 39.91 kB / 367.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.1799, allocations: 19.97 kB / 367.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1799, allocations: 4 kB / 367.1 MB, free: 3.629 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.1801, allocations: 194 kB / 367.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1801, allocations: 0 / 367.3 MB, free: 3.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000433/0.1806, allocations: 59.91 kB / 367.3 MB, free: 3.379 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.000206/0.1808, allocations: 111.2 kB / 367.4 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1819, allocations: 430.2 kB / 367.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1819, allocations: 4 kB / 367.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.1823, allocations: 227 kB / 368.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1828, allocations: 36.55 kB / 368.1 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1838, allocations: 0.5289 MB / 368.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1842, allocations: 0.7443 MB / 369.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1843, allocations: 26.3 kB / 369.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1843, allocations: 15.44 kB / 369.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1844, allocations: 3.938 kB / 369.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of Templates: time 0.2295/0.4139, allocations: 3.194 MB / 372.6 MB, free: 24.96 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