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.001477/0.001477, allocations: 197.5 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 226.5 MB / 244.7 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007218/0.0007219, allocations: 96.19 kB / 296.8 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002873, allocations: 8 kB / 356.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 51.3 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002053/0.2077, allocations: 2.341 MB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.2086, allocations: 0.6581 MB / 411.1 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2087, allocations: 4 kB / 411.1 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.2088, allocations: 36.5 kB / 411.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.209, allocations: 73.14 kB / 411.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.2092, allocations: 67.91 kB / 411.2 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.2094, allocations: 315.4 kB / 411.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2096, allocations: 73.73 kB / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2097, allocations: 108.8 kB / 411.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2098, allocations: 127.4 kB / 411.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.2098, allocations: 19.94 kB / 411.9 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.2099, allocations: 15.06 kB / 411.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.2099, allocations: 51.75 kB / 411.9 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.21, allocations: 145.1 kB / 412.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.2102, allocations: 240.3 kB / 412.3 MB, free: 23.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2102, allocations: 0 / 412.3 MB, free: 23.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2102, allocations: 0 / 412.3 MB, free: 23.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2102, allocations: 0 / 412.3 MB, free: 23.4 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.0009057/0.2111, allocations: 0.6095 MB / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.2112, allocations: 8.031 kB / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.2112, allocations: 32.56 kB / 413 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2115, allocations: 263.8 kB / 413.2 MB, free: 22.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2115, allocations: 24.8 kB / 413.2 MB, free: 22.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.2115, allocations: 20.36 kB / 413.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.2121, allocations: 290.1 kB / 413.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2121, allocations: 0 / 413.5 MB, free: 22.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.2121, allocations: 11.98 kB / 413.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2121, allocations: 8 kB / 413.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.2128, allocations: 269.5 kB / 413.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.214, allocations: 0.9297 MB / 414.8 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2154, allocations: 491.4 kB / 415.2 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.2157, allocations: 116.7 kB / 415.3 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2157, allocations: 4 kB / 415.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003986/0.2161, allocations: 185.8 kB / 415.5 MB, free: 19.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2161, allocations: 4 kB / 415.5 MB, free: 19.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001758/0.2179, allocations: 0.6398 MB / 416.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2179, allocations: 110.8 kB / 416.3 MB, free: 19.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.2181, allocations: 270.6 kB / 416.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2182, allocations: 25.8 kB / 416.6 MB, free: 18.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.2182, allocations: 187.7 kB / 416.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2183, allocations: 35.53 kB / 416.8 MB, free: 18.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2183, allocations: 12 kB / 416.8 MB, free: 18.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.2183, allocations: 330.8 kB / 417.1 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.2186, allocations: 111.9 kB / 417.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.219, allocations: 217.5 kB / 417.5 MB, free: 17.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.2195, allocations: 329.2 kB / 417.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2196, allocations: 0 / 417.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009868/0.2205, allocations: 475.8 kB / 418.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.2206, allocations: 33.7 kB / 418.3 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2206, allocations: 0 / 418.3 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.2209, allocations: 60.81 kB / 418.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2211, allocations: 67.92 kB / 418.4 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.2226, allocations: 1.522 MB / 419.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.223, allocations: 59.75 kB / 420 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.223, allocations: 8 kB / 420 MB, free: 15.16 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.0001083/0.2231, allocations: 149.9 kB / 420.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2231, allocations: 23.72 kB / 420.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.2232, allocations: 25.66 kB / 420.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2232, allocations: 0 / 420.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2232, allocations: 7.922 kB / 420.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2232, allocations: 0 / 420.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2243, allocations: 0.6824 MB / 420.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2243, allocations: 0 / 420.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2244, allocations: 31.97 kB / 420.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001953/0.2247, allocations: 64.77 kB / 421 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2247, allocations: 3.984 kB / 421 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.2262, allocations: 1.511 MB / 422.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2262, allocations: 96 / 422.5 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.2271, allocations: 443.8 kB / 422.9 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2271, allocations: 104.8 kB / 423 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.2272, allocations: 0 / 423 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2274, allocations: 43.91 kB / 423.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.2275, allocations: 19.97 kB / 423.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2275, allocations: 4 kB / 423.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.2276, allocations: 190 kB / 423.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2276, allocations: 0 / 423.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.228, allocations: 63.84 kB / 423.3 MB, free: 11.57 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.00012/0.2281, allocations: 107 kB / 423.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.2289, allocations: 417.9 kB / 423.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2289, allocations: 0.6875 kB / 423.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.2293, allocations: 214.6 kB / 424.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.2297, allocations: 54.86 kB / 424.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.2304, allocations: 0.5386 MB / 424.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2306, allocations: 0.7443 MB / 425.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.2307, allocations: 19.44 kB / 425.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2307, allocations: 0 / 425.4 MB, free: 9.391 MB / 298.7 MB Notification: Performance of Templates: time 0.004733/0.2354, allocations: 4.085 MB / 429.5 MB, free: 5.328 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