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.001178/0.001178, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 67.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3466, allocations: 50.53 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.00428/0.351, allocations: 2.76 MB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3528, allocations: 0.7011 MB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.353, allocations: 4 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.3532, allocations: 43.58 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.3535, allocations: 95.25 kB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.3538, allocations: 87.83 kB / 413 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.3542, allocations: 362.5 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.3544, allocations: 72.72 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3547, allocations: 135.5 kB / 413.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.3549, allocations: 143.4 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.3549, allocations: 36 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.355, allocations: 28 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.3551, allocations: 63.7 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3553, allocations: 143.3 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.3557, allocations: 326.5 kB / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3557, allocations: 0 / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3557, allocations: 0 / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3557, allocations: 3.938 kB / 414.2 MB, free: 12.59 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.001234/0.357, allocations: 0.6416 MB / 414.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.357, allocations: 8.031 kB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.3571, allocations: 32.75 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.3576, allocations: 279.6 kB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3576, allocations: 12.81 kB / 415.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.3577, allocations: 32.34 kB / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.3583, allocations: 278.1 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3584, allocations: 3.938 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3584, allocations: 8 kB / 415.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.3584, allocations: 4 kB / 415.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.3592, allocations: 241.6 kB / 415.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.3607, allocations: 0.8987 MB / 416.7 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.3623, allocations: 443.4 kB / 417.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.3626, allocations: 100.7 kB / 417.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3626, allocations: 4 kB / 417.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.3631, allocations: 169.8 kB / 417.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3631, allocations: 0 / 417.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002081/0.3652, allocations: 0.5733 MB / 417.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3653, allocations: 114.8 kB / 418.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3656, allocations: 266.7 kB / 418.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3656, allocations: 29.7 kB / 418.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3658, allocations: 188 kB / 418.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3658, allocations: 35.73 kB / 418.6 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.3659, allocations: 49.66 kB / 418.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.366, allocations: 338.8 kB / 418.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3664, allocations: 95.92 kB / 419 MB, free: 7.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.3668, allocations: 205.5 kB / 419.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.3675, allocations: 301.1 kB / 419.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3675, allocations: 0 / 419.5 MB, free: 6.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001228/0.3687, allocations: 431.9 kB / 419.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.3688, allocations: 33.69 kB / 420 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3688, allocations: 8.062 kB / 420 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.3692, allocations: 60.81 kB / 420 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.3694, allocations: 47.91 kB / 420.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/0.372, allocations: 1.617 MB / 421.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.3725, allocations: 51.8 kB / 421.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.3725, allocations: 8.047 kB / 421.8 MB, free: 4.5 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.0001796/0.3727, allocations: 149.8 kB / 421.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3727, allocations: 31.78 kB / 421.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.3728, allocations: 21.72 kB / 422 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3728, allocations: 3.984 kB / 422 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3728, allocations: 0 / 422 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3728, allocations: 0 / 422 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3742, allocations: 0.6473 MB / 422.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3742, allocations: 0 / 422.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.3744, allocations: 27.91 kB / 422.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.3746, allocations: 56.77 kB / 422.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3746, allocations: 15.98 kB / 422.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.3766, allocations: 1.594 MB / 424.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3767, allocations: 0 / 424.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3777, allocations: 400 kB / 424.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.3778, allocations: 92.97 kB / 424.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3779, allocations: 4 kB / 424.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3782, allocations: 31.95 kB / 424.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.3783, allocations: 15.98 kB / 424.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3783, allocations: 4 kB / 424.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.3785, allocations: 198 kB / 425 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3785, allocations: 0 / 425 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.3789, allocations: 63.89 kB / 425.1 MB, free: 0.9062 MB / 334.1 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.0001701/0.3791, allocations: 110.8 kB / 425.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009997/0.3801, allocations: 397.7 kB / 425.6 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3801, allocations: 0 / 425.6 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.3806, allocations: 211.3 kB / 425.8 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.381, allocations: 39.23 kB / 425.8 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.382, allocations: 450.3 kB / 426.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3823, allocations: 0.7402 MB / 427 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3824, allocations: 30.34 kB / 427.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3825, allocations: 19.44 kB / 427.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3825, allocations: 0 / 427.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007783/0.3903, allocations: 3.583 MB / 430.7 MB, free: 11.29 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/VoltageFollower/VoltageFollower.csv","/var/lib/jenkins/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