Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001245/0.001245, allocations: 99.41 kB / 16.94 MB, free: 5.98 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.001415/0.001416, allocations: 181.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004393, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003045/0.1226, allocations: 2.187 MB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1245, allocations: 0.6987 MB / 331.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.1248, allocations: 4 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.125, allocations: 35.75 kB / 331.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1254, allocations: 103.6 kB / 331.4 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1258, allocations: 63.86 kB / 331.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006162/0.1264, allocations: 219.6 kB / 331.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1267, allocations: 77.06 kB / 331.7 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.127, allocations: 115.6 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1272, allocations: 127.5 kB / 332 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1272, allocations: 12 kB / 332 MB, free: 456 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/0.1273, allocations: 16 kB / 332 MB, free: 440 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1273, allocations: 43.83 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.1275, allocations: 73.52 kB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1277, allocations: 235.6 kB / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1277, allocations: 0 / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1278, allocations: 0 / 332.3 MB, free: 80 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.1278, allocations: 0 / 332.3 MB, free: 80 kB / 270.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.001476/0.1293, allocations: 0.6106 MB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.1293, allocations: 8.031 kB / 332.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.1294, allocations: 31.62 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.1298, allocations: 270.4 kB / 333.2 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1299, allocations: 16.38 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.1299, allocations: 20 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.1306, allocations: 255.2 kB / 333.5 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1306, allocations: 7.938 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1307, allocations: 8 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1307, allocations: 8 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.1315, allocations: 281.6 kB / 333.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1332, allocations: 0.8514 MB / 334.7 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.1339, allocations: 319.5 kB / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1339, allocations: 0 / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.1344, allocations: 169.9 kB / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.1345, allocations: 3.984 kB / 335.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.002005/0.1365, allocations: 0.6478 MB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.1366, allocations: 102.8 kB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.1369, allocations: 270.5 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1369, allocations: 25.7 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1371, allocations: 183.7 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.1371, allocations: 31.55 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.1371, allocations: 8 kB / 336.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1373, allocations: 338.8 kB / 336.7 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.1376, allocations: 99.92 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.138, allocations: 208.7 kB / 337 MB, free: 11.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1384, allocations: 141.7 kB / 337.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1384, allocations: 0 / 337.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001066/0.1394, allocations: 467.8 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007303/0.1402, allocations: 1.167 MB / 338.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1402, allocations: 4 kB / 338.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.1405, allocations: 56.75 kB / 338.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1408, allocations: 63.95 kB / 338.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.1425, allocations: 1.519 MB / 340.4 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.1428, allocations: 63.77 kB / 340.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1429, allocations: 8 kB / 340.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.1429, allocations: 4 kB / 340.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006776/0.1436, allocations: 322.4 kB / 340.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1436, allocations: 0 / 340.8 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.715e-05/0.1437, allocations: 24.86 kB / 340.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1439, allocations: 67.78 kB / 340.9 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009684/0.1448, allocations: 1.385 MB / 342.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.1451, allocations: 55.94 kB / 342.4 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1452, allocations: 8 kB / 342.4 MB, free: 5.273 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.1454, allocations: 220.5 kB / 342.6 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1454, allocations: 27.67 kB / 342.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.1455, allocations: 25.7 kB / 342.6 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1455, allocations: 0 / 342.6 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1455, allocations: 0 / 342.6 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1455, allocations: 4 kB / 342.6 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1466, allocations: 0.6592 MB / 343.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1466, allocations: 0 / 343.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1467, allocations: 27.97 kB / 343.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.1469, allocations: 56.83 kB / 343.4 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1469, allocations: 7.922 kB / 343.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.1485, allocations: 1.515 MB / 344.9 MB, free: 2.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1485, allocations: 3.938 kB / 344.9 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00081/0.1493, allocations: 403.9 kB / 345.3 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.1494, allocations: 104.8 kB / 345.4 MB, free: 2 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.1494, allocations: 0 / 345.4 MB, free: 2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1497, allocations: 43.92 kB / 345.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.1498, allocations: 19.97 kB / 345.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1498, allocations: 4 kB / 345.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.15, allocations: 190 kB / 345.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 345.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005968/0.1506, allocations: 123.7 kB / 345.8 MB, free: 1.625 MB / 286.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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001814/0.1508, allocations: 107.2 kB / 345.9 MB, free: 1.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1521, allocations: 0.7008 MB / 346.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1522, allocations: 4.062 kB / 346.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.1526, allocations: 222.6 kB / 346.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.153, allocations: 36.55 kB / 346.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1541, allocations: 0.5137 MB / 347.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1545, allocations: 0.7482 MB / 348.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1547, allocations: 38.5 kB / 348.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1547, allocations: 15.44 kB / 348.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1547, allocations: 4 kB / 348.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Templates: time 0.007064/0.1618, allocations: 3.396 MB / 351.6 MB, free: 11.73 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches