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/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_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/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 101.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 47.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2052, allocations: 50.44 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003119/0.2084, allocations: 2.801 MB / 409.9 MB, free: 25.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2095, allocations: 0.7112 MB / 410.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.2098, allocations: 4 kB / 410.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.21, allocations: 31.77 kB / 410.6 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.2102, allocations: 75.41 kB / 410.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.2105, allocations: 79.09 kB / 410.8 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.2108, allocations: 334.6 kB / 411.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2109, allocations: 73.12 kB / 411.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.2111, allocations: 123.4 kB / 411.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2112, allocations: 135.4 kB / 411.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.2113, allocations: 20 kB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.2113, allocations: 20 kB / 411.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.2114, allocations: 51.7 kB / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2115, allocations: 135.3 kB / 411.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2117, allocations: 308.4 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2117, allocations: 0 / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2117, allocations: 0 / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2117, allocations: 0 / 411.9 MB, free: 22.95 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.001035/0.2128, allocations: 0.638 MB / 412.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2128, allocations: 8.594 kB / 412.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.2129, allocations: 28.66 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.2132, allocations: 279.6 kB / 412.9 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2132, allocations: 16.81 kB / 412.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.2132, allocations: 20.38 kB / 412.9 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.2138, allocations: 278.1 kB / 413.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2138, allocations: 0 / 413.2 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2138, allocations: 12 kB / 413.2 MB, free: 21.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2138, allocations: 11.98 kB / 413.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.2145, allocations: 241.5 kB / 413.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.2158, allocations: 0.9063 MB / 414.4 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.2171, allocations: 435.5 kB / 414.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.2174, allocations: 100.7 kB / 414.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2174, allocations: 0 / 414.9 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.2179, allocations: 169.8 kB / 415 MB, free: 19.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.2179, allocations: 4 kB / 415 MB, free: 19.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.001798/0.2197, allocations: 0.5653 MB / 415.6 MB, free: 19.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.2197, allocations: 114.7 kB / 415.7 MB, free: 18.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.2199, allocations: 266.7 kB / 416 MB, free: 18.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.22, allocations: 29.7 kB / 416 MB, free: 18.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.22, allocations: 195.5 kB / 416.2 MB, free: 18.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2201, allocations: 31.55 kB / 416.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.2201, allocations: 49.7 kB / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.2202, allocations: 334.8 kB / 416.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.2205, allocations: 91.92 kB / 416.7 MB, free: 17.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.2208, allocations: 199.2 kB / 416.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.2214, allocations: 303.4 kB / 417.2 MB, free: 17.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2214, allocations: 4 kB / 417.2 MB, free: 17.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001013/0.2224, allocations: 423.8 kB / 417.6 MB, free: 16.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2225, allocations: 40.67 kB / 417.6 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2225, allocations: 4 kB / 417.6 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.2227, allocations: 60.88 kB / 417.7 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.223, allocations: 55.89 kB / 417.8 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.2245, allocations: 1.488 MB / 419.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2248, allocations: 55.66 kB / 419.3 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.2248, allocations: 15.88 kB / 419.3 MB, free: 14.99 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 (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 9.313e-05/0.2249, allocations: 150.4 kB / 419.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.2249, allocations: 23.84 kB / 419.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.225, allocations: 25.64 kB / 419.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.225, allocations: 3.938 kB / 419.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.225, allocations: 0 / 419.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.225, allocations: 8 kB / 419.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2261, allocations: 0.6473 MB / 420.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2261, allocations: 0 / 420.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.2262, allocations: 23.97 kB / 420.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.2264, allocations: 56.83 kB / 420.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2264, allocations: 3.984 kB / 420.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.2278, allocations: 1.479 MB / 421.7 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2279, allocations: 11.95 kB / 421.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.2291, allocations: 1.048 MB / 422.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.2292, allocations: 100.8 kB / 422.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2292, allocations: 0 / 422.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.2295, allocations: 39.95 kB / 422.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.2295, allocations: 15.98 kB / 423 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2295, allocations: 4 kB / 423 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.2297, allocations: 190 kB / 423.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2297, allocations: 0 / 423.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004177/0.2301, allocations: 63.94 kB / 423.2 MB, free: 10.82 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 (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.000107/0.2302, allocations: 99.44 kB / 423.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.231, allocations: 394.2 kB / 423.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.231, allocations: 4.25 kB / 423.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.2314, allocations: 206.6 kB / 423.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2318, allocations: 44.47 kB / 423.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008634/0.2327, allocations: 0.6418 MB / 424.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.2328, allocations: 0.7482 MB / 425.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.2329, allocations: 22.3 kB / 425.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.233, allocations: 19.44 kB / 425.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.233, allocations: 0 / 425.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of Templates: time 0.005652/0.2387, allocations: 3.356 MB / 428.7 MB, free: 5.23 MB / 298.7 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@2/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