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.001317/0.001318, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001884/0.001885, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.405/1.405, allocations: 223.2 MB / 241.1 MB, free: 5.316 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 7.906 kB / 300.7 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 50.43 MB / 351.1 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003449/0.137, allocations: 2.226 MB / 353.4 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1383, allocations: 0.6628 MB / 354 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1385, allocations: 7.938 kB / 354 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.452e-05/0.1386, allocations: 27.77 kB / 354.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1389, allocations: 99.72 kB / 354.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1392, allocations: 67.84 kB / 354.2 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1395, allocations: 227.5 kB / 354.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.1397, allocations: 69 kB / 354.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1399, allocations: 107.6 kB / 354.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1401, allocations: 127.4 kB / 354.8 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.1401, allocations: 12 kB / 354.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.688e-05/0.1402, allocations: 16 kB / 354.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1403, allocations: 47.81 kB / 354.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.1404, allocations: 69.58 kB / 354.9 MB, free: 7.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1406, allocations: 231.4 kB / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1406, allocations: 0 / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1407, allocations: 0 / 355.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1407, allocations: 4 kB / 355.1 MB, free: 7.664 MB / 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.001344/0.142, allocations: 0.6067 MB / 355.7 MB, free: 7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.1421, allocations: 12.03 kB / 355.7 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.734e-05/0.1422, allocations: 27.62 kB / 355.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.1426, allocations: 266.5 kB / 356 MB, free: 6.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.1426, allocations: 16.44 kB / 356 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.1427, allocations: 24 kB / 356.1 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006571/0.1434, allocations: 289.7 kB / 356.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1434, allocations: 0 / 356.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1434, allocations: 11.95 kB / 356.4 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1434, allocations: 8 kB / 356.4 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.1442, allocations: 269.5 kB / 356.6 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1459, allocations: 0.9297 MB / 357.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.1475, allocations: 495.5 kB / 358.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1475, allocations: 4 kB / 358.1 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.148, allocations: 182 kB / 358.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.148, allocations: 4 kB / 358.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.002149/0.1502, allocations: 0.6435 MB / 358.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.1503, allocations: 106.8 kB / 359 MB, free: 3.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1506, allocations: 278.5 kB / 359.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1506, allocations: 25.7 kB / 359.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1508, allocations: 187.6 kB / 359.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1508, allocations: 35.53 kB / 359.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.1509, allocations: 8 kB / 359.5 MB, free: 2.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.151, allocations: 338.8 kB / 359.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.1513, allocations: 107.9 kB / 359.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.1518, allocations: 201.7 kB / 360.1 MB, free: 2.289 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.1521, allocations: 153.5 kB / 360.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.1522, allocations: 0 / 360.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001229/0.1534, allocations: 475.8 kB / 360.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.1535, allocations: 36.52 kB / 360.8 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1535, allocations: 8 kB / 360.8 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.1539, allocations: 69.25 kB / 360.9 MB, free: 1.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.1541, allocations: 55.91 kB / 360.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.1562, allocations: 1.552 MB / 362.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.1566, allocations: 63.66 kB / 362.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1566, allocations: 8 kB / 362.5 MB, free: 15.73 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 ($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 0.0001479/0.1568, allocations: 149.8 kB / 362.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1568, allocations: 27.67 kB / 362.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.1569, allocations: 17.72 kB / 362.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1569, allocations: 4 kB / 362.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1569, allocations: 3.984 kB / 362.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1569, allocations: 0 / 362.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.1583, allocations: 0.6786 MB / 363.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1583, allocations: 0 / 363.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.1585, allocations: 27.97 kB / 363.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.1587, allocations: 60.83 kB / 363.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1587, allocations: 7.984 kB / 363.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1606, allocations: 1.55 MB / 365.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1606, allocations: 4.031 kB / 365.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1616, allocations: 431.9 kB / 365.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.1617, allocations: 92.91 kB / 365.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1618, allocations: 8 kB / 365.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.162, allocations: 35.97 kB / 365.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.1621, allocations: 19.97 kB / 365.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1622, allocations: 4 kB / 365.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1624, allocations: 198.1 kB / 365.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1624, allocations: 0 / 365.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.1628, allocations: 71.72 kB / 365.9 MB, free: 12.12 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 (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.0001717/0.1629, allocations: 103.2 kB / 366 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009874/0.1639, allocations: 414.6 kB / 366.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1639, allocations: 0 / 366.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.1644, allocations: 226.5 kB / 366.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1647, allocations: 44.53 kB / 366.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.1657, allocations: 0.4977 MB / 367.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.166, allocations: 0.7521 MB / 367.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1661, allocations: 26.28 kB / 368 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.1662, allocations: 23.38 kB / 368 MB, free: 9.953 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1662, allocations: 0 / 368 MB, free: 9.953 MB / 302.1 MB Notification: Performance of Templates: time 0.006598/0.1728, allocations: 3.09 MB / 371.1 MB, free: 6.898 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches