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.0015/0.0015, allocations: 115.4 kB / 17.69 MB, free: 5.098 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.001581/0.001581, allocations: 191 kB / 18.63 MB, free: 4.25 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.549/1.549, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 46.78 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004759/0.1389, allocations: 2.735 MB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1403, allocations: 0.67 MB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1404, allocations: 7.938 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.1407, allocations: 43.58 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1409, allocations: 91.25 kB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1412, allocations: 95.81 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.1416, allocations: 358.5 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.1419, allocations: 84.5 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1421, allocations: 131.5 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1423, allocations: 143.4 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.1423, allocations: 32 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.1424, allocations: 32 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.1425, allocations: 59.77 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1426, allocations: 151.2 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.143, allocations: 318.9 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.143, allocations: 3.984 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.143, allocations: 0 / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.143, allocations: 0 / 356.4 MB, free: 14.75 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.001426/0.1444, allocations: 0.6301 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.1445, allocations: 12.03 kB / 357.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.469e-05/0.1446, allocations: 24.66 kB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.1451, allocations: 283.6 kB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1452, allocations: 12.81 kB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.1452, allocations: 24.36 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.1459, allocations: 274.1 kB / 357.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1459, allocations: 4 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.146, allocations: 4 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.146, allocations: 8 kB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007383/0.1467, allocations: 249.5 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1484, allocations: 0.8985 MB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.15, allocations: 439.4 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1503, allocations: 96.72 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1503, allocations: 0 / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.1508, allocations: 165.9 kB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 4.86e-06/0.1508, allocations: 7.922 kB / 359.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001972/0.1528, allocations: 0.5808 MB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.1529, allocations: 106.8 kB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1532, allocations: 274.7 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1532, allocations: 29.7 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1534, allocations: 187.6 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1534, allocations: 31.61 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.1535, allocations: 49.61 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1537, allocations: 334.8 kB / 361.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.154, allocations: 99.91 kB / 361.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.1544, allocations: 205.5 kB / 361.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.155, allocations: 292.7 kB / 361.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1551, allocations: 0 / 361.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001109/0.1562, allocations: 431.8 kB / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.1562, allocations: 33.7 kB / 362.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1562, allocations: 12.06 kB / 362.2 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.1566, allocations: 60.81 kB / 362.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1568, allocations: 47.91 kB / 362.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.159, allocations: 1.617 MB / 363.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.1593, allocations: 51.72 kB / 363.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1594, allocations: 11.98 kB / 363.9 MB, free: 6.672 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.000155/0.1595, allocations: 147.1 kB / 364.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1596, allocations: 31.72 kB / 364.1 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.1596, allocations: 25.7 kB / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1596, allocations: 0 / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1597, allocations: 0 / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1597, allocations: 0 / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.1609, allocations: 0.6361 MB / 364.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1609, allocations: 7.938 kB / 364.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.161, allocations: 24.06 kB / 364.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.1613, allocations: 60.75 kB / 364.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1613, allocations: 11.94 kB / 364.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.1632, allocations: 1.597 MB / 366.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1632, allocations: 0 / 366.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000905/0.1641, allocations: 395.9 kB / 366.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.1642, allocations: 104.7 kB / 367 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.1642, allocations: 4 kB / 367 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.1645, allocations: 31.95 kB / 367 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.1646, allocations: 15.98 kB / 367 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1646, allocations: 4 kB / 367 MB, free: 3.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.1648, allocations: 194 kB / 367.2 MB, free: 3.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1648, allocations: 4 kB / 367.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.1651, allocations: 56 kB / 367.3 MB, free: 3.098 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.0001582/0.1653, allocations: 106.6 kB / 367.4 MB, free: 2.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.1662, allocations: 393.8 kB / 367.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1662, allocations: 0 / 367.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.1667, allocations: 207.3 kB / 368 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1671, allocations: 48.69 kB / 368 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.168, allocations: 431.6 kB / 368.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1684, allocations: 0.7478 MB / 369.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.962e-05/0.1685, allocations: 26.28 kB / 369.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.1686, allocations: 27.44 kB / 369.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of SimCode: time 2.405e-06/0.1686, allocations: 0 / 369.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of Templates: time 0.244/0.4126, allocations: 3.513 MB / 372.7 MB, free: 25.13 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 -s cvode -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