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.001185/0.001185, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001254/0.001254, allocations: 192 kB / 19.29 MB, free: 3.715 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.478/1.478, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001235/0.001235, allocations: 55.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.117, allocations: 46.62 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004451/0.1215, allocations: 2.707 MB / 331.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.123, allocations: 0.7176 MB / 332.2 MB, free: 288 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1232, allocations: 4 kB / 332.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1234, allocations: 39.58 kB / 332.2 MB, free: 244 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1236, allocations: 87.25 kB / 332.3 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1241, allocations: 91.83 kB / 332.4 MB, free: 64 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.1246, allocations: 358.5 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.1248, allocations: 84.7 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.125, allocations: 131.5 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1252, allocations: 143.4 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.1253, allocations: 32 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.621e-05/0.1253, allocations: 28 kB / 333.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.251e-05/0.1254, allocations: 67.7 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.1256, allocations: 143.2 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.126, allocations: 322.9 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.126, allocations: 0 / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.126, allocations: 4 kB / 333.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1261, allocations: 0 / 333.7 MB, free: 14.78 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.001437/0.1275, allocations: 0.6379 MB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1276, allocations: 8.031 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.1276, allocations: 28.66 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1282, allocations: 275.5 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1282, allocations: 12.81 kB / 334.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.1282, allocations: 28.36 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.1289, allocations: 251.5 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1289, allocations: 0 / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.129, allocations: 8 kB / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.129, allocations: 4 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.1297, allocations: 261.5 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.1312, allocations: 0.8201 MB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.1319, allocations: 271.6 kB / 336.2 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.1322, allocations: 84.8 kB / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1322, allocations: 3.938 kB / 336.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.1326, allocations: 157.9 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1327, allocations: 3.938 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001709/0.1344, allocations: 0.5265 MB / 337 MB, free: 11.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.1345, allocations: 110.8 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.1348, allocations: 266.5 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1348, allocations: 33.69 kB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.135, allocations: 183.7 kB / 337.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.135, allocations: 35.45 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.1351, allocations: 53.64 kB / 337.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1353, allocations: 334.8 kB / 338 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.1356, allocations: 96.78 kB / 338.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.136, allocations: 192.7 kB / 338.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.1366, allocations: 292.5 kB / 338.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1367, allocations: 4 kB / 338.6 MB, free: 9.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001015/0.1377, allocations: 407.8 kB / 339 MB, free: 9.039 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.1378, allocations: 37.73 kB / 339 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1378, allocations: 4 kB / 339 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.1383, allocations: 92.69 kB / 339.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.1385, allocations: 55.95 kB / 339.2 MB, free: 8.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1405, allocations: 1.559 MB / 340.7 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1409, allocations: 59.7 kB / 340.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.1409, allocations: 8 kB / 340.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003089/0.1412, allocations: 176.1 kB / 341 MB, free: 6.895 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003228/0.1416, allocations: 177.2 kB / 341.1 MB, free: 6.676 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005081/0.1421, allocations: 268.7 kB / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-06/0.1421, allocations: 0 / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0006998/0.1428, allocations: 339.5 kB / 341.7 MB, free: 6.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1429, allocations: 33.7 kB / 341.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.1429, allocations: 4 kB / 341.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.309e-05/0.143, allocations: 29.22 kB / 341.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1432, allocations: 51.91 kB / 341.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1444, allocations: 1.544 MB / 343.4 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1447, allocations: 43.81 kB / 343.4 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1448, allocations: 12 kB / 343.5 MB, free: 4.156 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.0001853/0.145, allocations: 200.2 kB / 343.6 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.145, allocations: 19.72 kB / 343.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.1451, allocations: 29.7 kB / 343.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1451, allocations: 96 / 343.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1451, allocations: 0 / 343.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1451, allocations: 7.984 kB / 343.7 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.1462, allocations: 0.6082 MB / 344.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1463, allocations: 0 / 344.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1464, allocations: 31.97 kB / 344.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.1466, allocations: 40.83 kB / 344.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1466, allocations: 11.88 kB / 344.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.1486, allocations: 1.547 MB / 345.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1486, allocations: 0 / 345.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.1494, allocations: 363.8 kB / 346.3 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.1495, allocations: 92.91 kB / 346.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1495, allocations: 8 kB / 346.4 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1498, allocations: 23.97 kB / 346.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1499, allocations: 23.91 kB / 346.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1499, allocations: 4 kB / 346.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1501, allocations: 198 kB / 346.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1501, allocations: 0 / 346.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005598/0.1507, allocations: 115.7 kB / 346.8 MB, free: 0.6133 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.0001951/0.1509, allocations: 103.4 kB / 346.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.1522, allocations: 0.6727 MB / 347.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1522, allocations: 0 / 347.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.1526, allocations: 206.6 kB / 347.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.153, allocations: 41.86 kB / 347.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1542, allocations: 435.6 kB / 348.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1546, allocations: 0.7483 MB / 348.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1547, allocations: 30.28 kB / 349 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1548, allocations: 27.44 kB / 349 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1548, allocations: 0 / 349 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008656/0.1634, allocations: 3.848 MB / 352.8 MB, free: 10.4 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches