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.001243/0.001243, allocations: 87.59 kB / 16.31 MB, free: 5.676 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.001707/0.001707, allocations: 182.2 kB / 17.21 MB, free: 5.598 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.588/1.588, allocations: 223.2 MB / 241.2 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 8 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1199, allocations: 50.41 MB / 351.2 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003348/0.1233, allocations: 2.313 MB / 353.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1245, allocations: 0.651 MB / 354.2 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1247, allocations: 4 kB / 354.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.1248, allocations: 35.69 kB / 354.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.125, allocations: 67.45 kB / 354.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1253, allocations: 71.84 kB / 354.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1256, allocations: 314.6 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1258, allocations: 69 kB / 354.8 MB, free: 488 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.126, allocations: 115.5 kB / 354.9 MB, free: 372 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1262, allocations: 123.4 kB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.343e-05/0.1263, allocations: 12 kB / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.1263, allocations: 16 kB / 355 MB, free: 220 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.1264, allocations: 51.77 kB / 355.1 MB, free: 168 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.1265, allocations: 69.52 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1267, allocations: 231.6 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.1267, allocations: 8 kB / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1268, allocations: 0 / 355.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1268, allocations: 0 / 355.4 MB, free: 15.86 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.001166/0.1279, allocations: 0.6067 MB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.128, allocations: 8.031 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.1281, allocations: 31.62 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1284, allocations: 266.5 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1285, allocations: 16.44 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.1285, allocations: 16 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.1292, allocations: 289.8 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1292, allocations: 0 / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1292, allocations: 11.95 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1292, allocations: 8 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.1299, allocations: 277.5 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.1314, allocations: 0.9258 MB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1328, allocations: 495.5 kB / 358.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1331, allocations: 112.7 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1332, allocations: 4 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.1337, allocations: 181.9 kB / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1337, allocations: 0 / 358.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001842/0.1355, allocations: 0.6589 MB / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1356, allocations: 106.8 kB / 359.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1359, allocations: 270.7 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1359, allocations: 25.7 kB / 359.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1361, allocations: 187.6 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1361, allocations: 31.55 kB / 359.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.1361, allocations: 8 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1363, allocations: 330.8 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.1366, allocations: 107.9 kB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.137, allocations: 213.7 kB / 360.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1373, allocations: 145.6 kB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1373, allocations: 4 kB / 360.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001081/0.1384, allocations: 478.8 kB / 361.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.1385, allocations: 33.7 kB / 361.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1385, allocations: 4 kB / 361.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000294/0.1388, allocations: 68.88 kB / 361.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.139, allocations: 59.89 kB / 361.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.141, allocations: 1.525 MB / 362.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1413, allocations: 63.81 kB / 362.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1413, allocations: 8 kB / 362.9 MB, free: 7.84 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.000144/0.1415, allocations: 145.7 kB / 363 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.1415, allocations: 27.67 kB / 363 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1416, allocations: 21.72 kB / 363.1 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.1416, allocations: 3.984 kB / 363.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1416, allocations: 0 / 363.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1416, allocations: 0 / 363.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1428, allocations: 0.6829 MB / 363.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1428, allocations: 0 / 363.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.143, allocations: 36.06 kB / 363.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.1432, allocations: 60.77 kB / 363.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1432, allocations: 7.984 kB / 363.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.145, allocations: 1.522 MB / 365.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.145, allocations: 0 / 365.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.1459, allocations: 431.9 kB / 365.8 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.146, allocations: 100.9 kB / 365.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.146, allocations: 0 / 365.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1463, allocations: 43.97 kB / 365.9 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.1464, allocations: 15.97 kB / 366 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1464, allocations: 7.953 kB / 366 MB, free: 4.512 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.1466, allocations: 190 kB / 366.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1466, allocations: 0 / 366.1 MB, free: 4.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1469, allocations: 63.84 kB / 366.2 MB, free: 4.262 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.0001486/0.1471, allocations: 111.2 kB / 366.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008684/0.148, allocations: 418.2 kB / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.148, allocations: 0 / 366.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.1484, allocations: 222.9 kB / 366.9 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1488, allocations: 40.81 kB / 367 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.1497, allocations: 0.5093 MB / 367.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.15, allocations: 0.7443 MB / 368.2 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1501, allocations: 26.28 kB / 368.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.1502, allocations: 19.44 kB / 368.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1502, allocations: 0 / 368.3 MB, free: 2.09 MB / 302.1 MB Notification: Performance of Templates: time 0.202/0.3522, allocations: 3.086 MB / 371.4 MB, free: 24.71 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","/var/lib/jenkins/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