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.001564/0.001565, allocations: 99.91 kB / 17.3 MB, free: 6.395 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.001478/0.001478, allocations: 178.9 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005405/0.0005407, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1298, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003465/0.1333, allocations: 2.383 MB / 331.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1347, allocations: 0.7061 MB / 332.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1349, allocations: 4 kB / 332.1 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.135, allocations: 35.7 kB / 332.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1352, allocations: 75.45 kB / 332.2 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1355, allocations: 83.86 kB / 332.3 MB, free: 456 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.1359, allocations: 326.6 kB / 332.6 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1361, allocations: 69.14 kB / 332.6 MB, free: 64 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1362, allocations: 111.5 kB / 332.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1364, allocations: 139.3 kB / 332.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.1365, allocations: 20 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.1365, allocations: 16 kB / 332.9 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1366, allocations: 43.83 kB / 333 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1367, allocations: 153 kB / 333.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.137, allocations: 307 kB / 333.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.137, allocations: 0 / 333.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1371, allocations: 0 / 333.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.1371, allocations: 0 / 333.4 MB, free: 15.28 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.00126/0.1383, allocations: 0.603 MB / 334 MB, free: 14.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1384, allocations: 8.031 kB / 334 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/0.1385, allocations: 36.56 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1388, allocations: 271.5 kB / 334.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.1389, allocations: 12.81 kB / 334.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.1389, allocations: 20.38 kB / 334.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.1396, allocations: 267.5 kB / 334.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1396, allocations: 0 / 334.6 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.1396, allocations: 11.94 kB / 334.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1397, allocations: 4 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.1405, allocations: 289.5 kB / 334.9 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.1422, allocations: 0.8513 MB / 335.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.143, allocations: 307.7 kB / 336.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1433, allocations: 112.7 kB / 336.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1433, allocations: 3.938 kB / 336.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.1439, allocations: 181.8 kB / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 2.334e-06/0.1439, allocations: 0 / 336.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.002003/0.1459, allocations: 0.6395 MB / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.146, allocations: 110.8 kB / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.1464, allocations: 262.6 kB / 337.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1464, allocations: 29.7 kB / 337.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1466, allocations: 187.6 kB / 337.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1467, allocations: 35.56 kB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1467, allocations: 25.7 kB / 337.6 MB, free: 10.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1469, allocations: 334.8 kB / 338 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1472, allocations: 111.9 kB / 338.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.1477, allocations: 212.1 kB / 338.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.1484, allocations: 320.6 kB / 338.6 MB, free: 9.703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1484, allocations: 0 / 338.6 MB, free: 9.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001198/0.1496, allocations: 467.8 kB / 339.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.1499, allocations: 201 kB / 339.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.1499, allocations: 8 kB / 339.3 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.1505, allocations: 116.8 kB / 339.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1507, allocations: 63.89 kB / 339.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1527, allocations: 1.503 MB / 340.9 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.1531, allocations: 59.7 kB / 341 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1532, allocations: 8 kB / 341 MB, free: 7.086 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1532, allocations: 8.062 kB / 341 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008168/0.154, allocations: 326.2 kB / 341.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.154, allocations: 0 / 341.3 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-05/0.1541, allocations: 32.94 kB / 341.4 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1543, allocations: 55.91 kB / 341.4 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1556, allocations: 1.393 MB / 342.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.156, allocations: 51.75 kB / 342.9 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.156, allocations: 8 kB / 342.9 MB, free: 5.074 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 (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 (23): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.1563, allocations: 209.2 kB / 343.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1564, allocations: 31.66 kB / 343.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1564, allocations: 21.7 kB / 343.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1564, allocations: 4 kB / 343.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1565, allocations: 3.938 kB / 343.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1565, allocations: 0 / 343.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1577, allocations: 0.663 MB / 343.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1577, allocations: 0 / 343.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.1579, allocations: 27.97 kB / 343.8 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.1581, allocations: 52.83 kB / 343.9 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1581, allocations: 11.92 kB / 343.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.1599, allocations: 1.495 MB / 345.4 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1599, allocations: 4.031 kB / 345.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.1609, allocations: 403.9 kB / 345.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.161, allocations: 100.8 kB / 345.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.1611, allocations: 7.938 kB / 345.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1613, allocations: 31.97 kB / 345.9 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1615, allocations: 23.97 kB / 345.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1615, allocations: 4 kB / 345.9 MB, free: 1.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.1618, allocations: 194 kB / 346.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.61e-07/0.1618, allocations: 0 / 346.1 MB, free: 1.566 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.1625, allocations: 115.7 kB / 346.2 MB, free: 1.453 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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002459/0.1627, allocations: 99.25 kB / 346.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.1645, allocations: 0.7118 MB / 347.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1645, allocations: 0 / 347.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.165, allocations: 227.9 kB / 347.3 MB, free: 360 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.1655, allocations: 36.55 kB / 347.3 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.1667, allocations: 0.5534 MB / 347.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.1672, allocations: 0.7483 MB / 348.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1674, allocations: 26.28 kB / 348.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.1675, allocations: 19.44 kB / 348.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1675, allocations: 0 / 348.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Templates: time 0.008565/0.1761, allocations: 3.516 MB / 352.2 MB, free: 11.41 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (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) 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