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.001591/0.001591, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.84 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1065, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004337/0.1109, allocations: 2.751 MB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1121, allocations: 0.7012 MB / 362.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1123, allocations: 7.938 kB / 362.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1125, allocations: 43.56 kB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1126, allocations: 87.25 kB / 362.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1129, allocations: 91.88 kB / 362.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.1133, allocations: 358.5 kB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.1135, allocations: 86.33 kB / 363 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.1137, allocations: 131.4 kB / 363.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1138, allocations: 143.4 kB / 363.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1139, allocations: 28 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.1139, allocations: 32 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.114, allocations: 63.7 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1142, allocations: 151.2 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1145, allocations: 322.8 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1145, allocations: 0 / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1145, allocations: 0 / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1145, allocations: 0 / 363.9 MB, free: 8.352 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.001218/0.1157, allocations: 0.634 MB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1158, allocations: 12.03 kB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.1159, allocations: 32.56 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1163, allocations: 275.5 kB / 364.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1163, allocations: 16.81 kB / 364.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1164, allocations: 20.38 kB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.1169, allocations: 278.1 kB / 365.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.117, allocations: 0 / 365.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.117, allocations: 8 kB / 365.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.117, allocations: 8 kB / 365.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.1177, allocations: 249.5 kB / 365.4 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.1192, allocations: 0.8985 MB / 366.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1207, allocations: 439.5 kB / 366.7 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.121, allocations: 108.6 kB / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1211, allocations: 0 / 366.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.1215, allocations: 161.9 kB / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1215, allocations: 0 / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001919/0.1234, allocations: 0.5731 MB / 367.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1235, allocations: 110.7 kB / 367.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1238, allocations: 274.7 kB / 367.9 MB, free: 4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1238, allocations: 25.7 kB / 368 MB, free: 3.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.124, allocations: 195.6 kB / 368.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.124, allocations: 31.59 kB / 368.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.1241, allocations: 49.61 kB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1243, allocations: 334.8 kB / 368.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.1246, allocations: 95.91 kB / 368.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.125, allocations: 202.7 kB / 368.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.1256, allocations: 297.5 kB / 369.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1257, allocations: 0 / 369.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001109/0.1268, allocations: 427.3 kB / 369.6 MB, free: 2.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.1268, allocations: 37.7 kB / 369.6 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.1268, allocations: 4 kB / 369.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.1271, allocations: 64.81 kB / 369.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.1274, allocations: 51.95 kB / 369.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/0.1629, allocations: 1.613 MB / 371.3 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.1635, allocations: 59.73 kB / 371.4 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1635, allocations: 16 kB / 371.4 MB, free: 256 kB / 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 (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 (24): * Single equations (assignments): 22 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.1637, allocations: 142.3 kB / 371.5 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.1638, allocations: 27.66 kB / 371.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.1638, allocations: 25.7 kB / 371.6 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1638, allocations: 4 kB / 371.6 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1638, allocations: 4 kB / 371.6 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1639, allocations: 0 / 371.6 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1629/0.3267, allocations: 0.6271 MB / 372.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3268, allocations: 2.078 kB / 372.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3269, allocations: 25.14 kB / 372.2 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.3271, allocations: 60.89 kB / 372.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3272, allocations: 1.422 kB / 372.3 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.3288, allocations: 1.602 MB / 373.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3288, allocations: 0 / 373.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.3297, allocations: 391 kB / 374.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.3298, allocations: 108.3 kB / 374.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.3298, allocations: 6.109 kB / 374.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3301, allocations: 33.8 kB / 374.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.3302, allocations: 14.94 kB / 374.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3302, allocations: 5.812 kB / 374.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.3304, allocations: 190.4 kB / 374.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3304, allocations: 1.031 kB / 374.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.3307, allocations: 67.36 kB / 374.7 MB, free: 18.54 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 (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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.3309, allocations: 100.2 kB / 374.8 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.3317, allocations: 389.8 kB / 375.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3317, allocations: 1.125 kB / 375.2 MB, free: 18.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.3321, allocations: 210.4 kB / 375.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3325, allocations: 51.5 kB / 375.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.3334, allocations: 443.3 kB / 375.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3336, allocations: 0.7434 MB / 376.6 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3337, allocations: 32.11 kB / 376.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.3338, allocations: 19.48 kB / 376.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3338, allocations: 0.9375 kB / 376.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007227/0.341, allocations: 3.536 MB / 380.2 MB, free: 17.11 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches