Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.00108, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007636/0.0007638, allocations: 98.48 kB / 296.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 11.94 kB / 356.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002015/0.2173, allocations: 2.333 MB / 409.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.2183, allocations: 0.6674 MB / 410.5 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.2185, allocations: 4 kB / 410.5 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2186, allocations: 27.77 kB / 410.5 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2188, allocations: 72.55 kB / 410.6 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.219, allocations: 69.38 kB / 410.7 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.2193, allocations: 310.6 kB / 411 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2195, allocations: 74.19 kB / 411.1 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2196, allocations: 115.5 kB / 411.2 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2198, allocations: 123.5 kB / 411.3 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.2198, allocations: 16 kB / 411.3 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.2199, allocations: 14.66 kB / 411.3 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.2199, allocations: 47.77 kB / 411.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.22, allocations: 69.58 kB / 411.4 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.2201, allocations: 240.3 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2202, allocations: 0 / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2202, allocations: 0 / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2202, allocations: 0 / 411.7 MB, free: 23.65 MB / 298.7 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.00101/0.2212, allocations: 0.6028 MB / 412.3 MB, free: 22.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2212, allocations: 12.03 kB / 412.3 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2213, allocations: 27.62 kB / 412.3 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.2215, allocations: 258.6 kB / 412.6 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2216, allocations: 24.38 kB / 412.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2216, allocations: 23.94 kB / 412.6 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.2222, allocations: 285.7 kB / 412.9 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2222, allocations: 0 / 412.9 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.2222, allocations: 19.98 kB / 412.9 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2222, allocations: 4 kB / 412.9 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.2229, allocations: 265.6 kB / 413.2 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.2243, allocations: 0.9414 MB / 414.1 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2256, allocations: 491.5 kB / 414.6 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.2259, allocations: 116.7 kB / 414.7 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.226, allocations: 0 / 414.7 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.2264, allocations: 177.8 kB / 414.9 MB, free: 20.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.2264, allocations: 0 / 414.9 MB, free: 20.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001867/0.2283, allocations: 0.6474 MB / 415.5 MB, free: 19.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2283, allocations: 102.8 kB / 415.6 MB, free: 19.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2285, allocations: 278.5 kB / 415.9 MB, free: 19.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2286, allocations: 29.7 kB / 415.9 MB, free: 19.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2287, allocations: 191.6 kB / 416.1 MB, free: 18.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.2287, allocations: 31.55 kB / 416.1 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.2287, allocations: 4 kB / 416.2 MB, free: 18.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.2288, allocations: 326.8 kB / 416.5 MB, free: 18.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.2291, allocations: 115.9 kB / 416.6 MB, free: 18.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.2294, allocations: 213.6 kB / 416.8 MB, free: 18.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2298, allocations: 157.6 kB / 416.9 MB, free: 18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2298, allocations: 0 / 416.9 MB, free: 18 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001013/0.2308, allocations: 463.9 kB / 417.4 MB, free: 17.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.2308, allocations: 37.69 kB / 417.4 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.2309, allocations: 4.375 kB / 417.4 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.2311, allocations: 64.89 kB / 417.5 MB, free: 17.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2314, allocations: 55.89 kB / 417.6 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.233, allocations: 1.534 MB / 419.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.2333, allocations: 67.73 kB / 419.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.2333, allocations: 8 kB / 419.2 MB, free: 15.62 MB / 298.7 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.0001116/0.2335, allocations: 147.4 kB / 419.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.2335, allocations: 23.72 kB / 419.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.2335, allocations: 21.7 kB / 419.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2335, allocations: 0 / 419.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2336, allocations: 4 kB / 419.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2336, allocations: 7.938 kB / 419.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.2347, allocations: 0.6786 MB / 420 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2347, allocations: 4 kB / 420 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2348, allocations: 35.91 kB / 420.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.235, allocations: 56.81 kB / 420.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.235, allocations: 8 kB / 420.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.2364, allocations: 1.518 MB / 421.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2364, allocations: 0 / 421.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.2373, allocations: 428 kB / 422.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2373, allocations: 96.91 kB / 422.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.2374, allocations: 7.938 kB / 422.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2376, allocations: 47.95 kB / 422.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.2377, allocations: 19.97 kB / 422.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.2377, allocations: 4.188 kB / 422.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.2379, allocations: 186 kB / 422.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2379, allocations: 3.938 kB / 422.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.2382, allocations: 63.84 kB / 422.5 MB, free: 12.05 MB / 298.7 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.0001098/0.2383, allocations: 107.2 kB / 422.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007694/0.2391, allocations: 413.9 kB / 423 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2391, allocations: 4 kB / 423 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.2394, allocations: 223.2 kB / 423.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.2398, allocations: 46.62 kB / 423.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.2406, allocations: 0.5384 MB / 423.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2407, allocations: 0.7365 MB / 424.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.2408, allocations: 19.44 kB / 424.6 MB, free: 9.875 MB / 298.7 MB Notification: Performance of SimCode: time 1.183e-06/0.2408, allocations: 4 kB / 424.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of Templates: time 0.00439/0.2452, allocations: 4.094 MB / 428.7 MB, free: 5.793 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches