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.001636/0.001636, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2179, allocations: 50.54 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003748/0.2216, allocations: 2.765 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.223, allocations: 0.6934 MB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.2233, allocations: 4 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2235, allocations: 43.58 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.2238, allocations: 91.25 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2241, allocations: 103.8 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.2245, allocations: 350.5 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2247, allocations: 88.69 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.2248, allocations: 131.4 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.225, allocations: 143.4 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.2251, allocations: 28 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.61e-05/0.2251, allocations: 32 kB / 414.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.2252, allocations: 67.69 kB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2253, allocations: 147.2 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.2256, allocations: 324 kB / 414.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2256, allocations: 4 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2257, allocations: 0 / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2257, allocations: 0 / 415 MB, free: 12.55 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.001127/0.2268, allocations: 0.6301 MB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2268, allocations: 12.03 kB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.2269, allocations: 28.66 kB / 415.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.2273, allocations: 279.5 kB / 415.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2273, allocations: 12.81 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.2274, allocations: 28.25 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.228, allocations: 282.1 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.228, allocations: 0 / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2281, allocations: 4 kB / 416.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2281, allocations: 8 kB / 416.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.2288, allocations: 245.6 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2303, allocations: 0.8984 MB / 417.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2318, allocations: 439.5 kB / 417.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2321, allocations: 92.73 kB / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2322, allocations: 0 / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.2326, allocations: 169.8 kB / 418 MB, free: 9.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2326, allocations: 0 / 418 MB, free: 9.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002014/0.2346, allocations: 0.5654 MB / 418.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.2347, allocations: 114.8 kB / 418.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.235, allocations: 270.6 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.235, allocations: 33.7 kB / 419 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2351, allocations: 187.6 kB / 419.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2352, allocations: 39.53 kB / 419.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.2353, allocations: 41.7 kB / 419.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2354, allocations: 342.8 kB / 419.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2357, allocations: 95.92 kB / 419.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.2361, allocations: 201.6 kB / 419.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.2368, allocations: 300.9 kB / 420.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2369, allocations: 4 kB / 420.2 MB, free: 6.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001188/0.238, allocations: 435.8 kB / 420.6 MB, free: 6.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.2381, allocations: 38.14 kB / 420.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2381, allocations: 4 kB / 420.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/0.2384, allocations: 60.81 kB / 420.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2386, allocations: 47.91 kB / 420.8 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.2408, allocations: 1.617 MB / 422.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.2411, allocations: 55.66 kB / 422.4 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2412, allocations: 12 kB / 422.5 MB, free: 4.473 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.000141/0.2413, allocations: 149.8 kB / 422.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2414, allocations: 23.75 kB / 422.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.2414, allocations: 21.7 kB / 422.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2414, allocations: 0 / 422.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2414, allocations: 0 / 422.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.2415, allocations: 108.8 kB / 422.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.2415, allocations: 3.938 kB / 422.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2418, allocations: 31.97 kB / 422.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.2419, allocations: 19.97 kB / 422.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001225/0.2431, allocations: 397.4 kB / 423.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009963/0.2441, allocations: 482.2 kB / 423.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003046/0.2444, allocations: 79.95 kB / 423.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.2446, allocations: 202.2 kB / 423.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of Backend: time 4.11e-07/0.2446, allocations: 0 / 423.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.2455, allocations: 400.6 kB / 424.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008541/0.2464, allocations: 0.8733 MB / 425.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Templates: time 0.00714/0.2535, allocations: 3.691 MB / 428.9 MB, free: 13.92 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