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.001198/0.001198, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.222, allocations: 50.54 MB / 410 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003818/0.2258, allocations: 2.757 MB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2272, allocations: 0.7011 MB / 413.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2274, allocations: 4 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2275, allocations: 43.56 kB / 413.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2278, allocations: 91.27 kB / 413.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.228, allocations: 103.8 kB / 413.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.2284, allocations: 346.5 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.2286, allocations: 84.69 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.2288, allocations: 135.4 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.229, allocations: 143.4 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.2291, allocations: 28 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.2291, allocations: 28 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.2292, allocations: 71.69 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2294, allocations: 143.2 kB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.2297, allocations: 322.5 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2297, allocations: 0 / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2297, allocations: 0 / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2298, allocations: 4 kB / 415 MB, free: 12.62 MB / 334.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.0012/0.231, allocations: 0.6377 MB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.231, allocations: 8.031 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.2311, allocations: 36.75 kB / 415.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2315, allocations: 279.6 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2315, allocations: 16.81 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.2315, allocations: 20.31 kB / 415.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.2322, allocations: 278.1 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2322, allocations: 7.984 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2322, allocations: 8 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2322, allocations: 4 kB / 416.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/0.233, allocations: 245.6 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2346, allocations: 0.9026 MB / 417.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.2361, allocations: 439.5 kB / 417.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.2364, allocations: 96.72 kB / 417.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2364, allocations: 0 / 417.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.2369, allocations: 173.7 kB / 418.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2369, allocations: 0 / 418.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.001982/0.2389, allocations: 0.5694 MB / 418.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.239, allocations: 110.8 kB / 418.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2392, allocations: 274.6 kB / 419 MB, free: 8.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2393, allocations: 29.7 kB / 419 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2394, allocations: 192 kB / 419.2 MB, free: 8.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.2395, allocations: 35.67 kB / 419.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.2396, allocations: 49.66 kB / 419.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2397, allocations: 330.8 kB / 419.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.24, allocations: 99.91 kB / 419.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.2404, allocations: 201.6 kB / 419.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.2411, allocations: 297.5 kB / 420.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2412, allocations: 4 kB / 420.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00115/0.2423, allocations: 431.5 kB / 420.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2424, allocations: 41.77 kB / 420.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2424, allocations: 4 kB / 420.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.2427, allocations: 56.81 kB / 420.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2429, allocations: 55.89 kB / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.245, allocations: 1.609 MB / 422.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.2454, allocations: 56.16 kB / 422.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2454, allocations: 12 kB / 422.5 MB, free: 4.531 MB / 334.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.0001322/0.2456, allocations: 145.9 kB / 422.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.2456, allocations: 27.8 kB / 422.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.2457, allocations: 29.64 kB / 422.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2457, allocations: 0 / 422.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2457, allocations: 0 / 422.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.2457, allocations: 104.9 kB / 422.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.2458, allocations: 4 kB / 422.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.246, allocations: 39.89 kB / 422.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.2461, allocations: 15.98 kB / 422.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.2473, allocations: 397.4 kB / 423.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001009/0.2484, allocations: 482.3 kB / 423.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003117/0.2487, allocations: 83.95 kB / 423.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.2489, allocations: 198 kB / 424 MB, free: 2.977 MB / 334.1 MB Notification: Performance of Backend: time 6.01e-07/0.2489, allocations: 0 / 424 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.2498, allocations: 396.8 kB / 424.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008882/0.2507, allocations: 0.8844 MB / 425.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of Templates: time 0.007291/0.258, allocations: 3.693 MB / 428.9 MB, free: 13.96 MB / 350.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/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