Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001148, allocations: 100.7 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 203.5 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1304, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00293/0.1334, allocations: 2.241 MB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1349, allocations: 0.6939 MB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1351, allocations: 4 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.061e-05/0.1352, allocations: 31.75 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1355, allocations: 103.7 kB / 361.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1359, allocations: 67.84 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.1363, allocations: 219.5 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.1365, allocations: 73.11 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1367, allocations: 111.5 kB / 361.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1369, allocations: 123.5 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.137, allocations: 16 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.137, allocations: 12 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1371, allocations: 47.81 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1372, allocations: 73.58 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.1375, allocations: 235.6 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1375, allocations: 0 / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1375, allocations: 0 / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1376, allocations: 0 / 362.1 MB, free: 9.867 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.001369/0.1389, allocations: 0.6106 MB / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.139, allocations: 12.03 kB / 362.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.1391, allocations: 31.62 kB / 362.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.1395, allocations: 262.5 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.1396, allocations: 16.39 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.1396, allocations: 20 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1403, allocations: 285.8 kB / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1404, allocations: 4 kB / 363.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1404, allocations: 4 kB / 363.3 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1404, allocations: 7.938 kB / 363.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.1411, allocations: 273.6 kB / 363.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.1427, allocations: 0.9219 MB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1443, allocations: 0.4955 MB / 365 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1444, allocations: 3.953 kB / 365 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.1449, allocations: 174.1 kB / 365.2 MB, free: 6.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.145, allocations: 3.938 kB / 365.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002182/0.1471, allocations: 0.6551 MB / 365.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.1472, allocations: 102.8 kB / 366 MB, free: 5.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.1476, allocations: 266.7 kB / 366.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1476, allocations: 29.7 kB / 366.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1478, allocations: 191.6 kB / 366.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1478, allocations: 35.55 kB / 366.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1479, allocations: 4 kB / 366.5 MB, free: 5.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.148, allocations: 330.8 kB / 366.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.1484, allocations: 107.9 kB / 366.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.1488, allocations: 218.7 kB / 367.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.1492, allocations: 145.7 kB / 367.3 MB, free: 4.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1492, allocations: 3.953 kB / 367.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001211/0.1504, allocations: 471.8 kB / 367.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.1506, allocations: 29.7 kB / 367.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1506, allocations: 7.984 kB / 367.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.1509, allocations: 56.83 kB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.1512, allocations: 67.92 kB / 367.9 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.1535, allocations: 1.55 MB / 369.4 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.1539, allocations: 67.77 kB / 369.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.154, allocations: 12 kB / 369.5 MB, free: 1.93 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.000177/0.1541, allocations: 141.7 kB / 369.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.1542, allocations: 23.66 kB / 369.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.1542, allocations: 29.7 kB / 369.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1543, allocations: 0 / 369.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1543, allocations: 4 kB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1543, allocations: 4.312 kB / 369.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1556, allocations: 0.6786 MB / 370.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1557, allocations: 0 / 370.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1558, allocations: 35.97 kB / 370.4 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.156, allocations: 60.81 kB / 370.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1561, allocations: 0 / 370.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.218/0.3741, allocations: 1.536 MB / 372 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3741, allocations: 1.281 kB / 372 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3756, allocations: 429.5 kB / 372.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3757, allocations: 103.7 kB / 372.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3757, allocations: 2.828 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.376, allocations: 44.3 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.3762, allocations: 16.81 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3762, allocations: 5.062 kB / 372.6 MB, free: 18.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.3765, allocations: 192.8 kB / 372.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3765, allocations: 0 / 372.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.3769, allocations: 61.02 kB / 372.9 MB, free: 18.36 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.0001826/0.3771, allocations: 111.8 kB / 373 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3783, allocations: 419.4 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3783, allocations: 0.5938 kB / 373.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.3788, allocations: 226.6 kB / 373.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3791, allocations: 36.89 kB / 373.6 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3802, allocations: 0.5129 MB / 374.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3804, allocations: 0.7516 MB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3806, allocations: 24.2 kB / 374.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.3806, allocations: 23.66 kB / 375 MB, free: 17.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3806, allocations: 0 / 375 MB, free: 17.01 MB / 302.1 MB Notification: Performance of Templates: time 0.008911/0.3896, allocations: 3.08 MB / 378 MB, free: 16.88 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches