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.00155/0.00155, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001829, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.379, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004277/0.3833, allocations: 2.753 MB / 412 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3847, allocations: 0.7012 MB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3848, allocations: 7.938 kB / 412.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3851, allocations: 43.58 kB / 412.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3853, allocations: 87.25 kB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.3856, allocations: 91.83 kB / 413 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.386, allocations: 358.5 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.3863, allocations: 84.69 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3865, allocations: 135.5 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3867, allocations: 143.4 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.3867, allocations: 28 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.3868, allocations: 28 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.3869, allocations: 67.77 kB / 413.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.387, allocations: 143.3 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.3874, allocations: 328 kB / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3874, allocations: 0 / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3874, allocations: 0 / 414.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3874, allocations: 0 / 414.3 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.001299/0.3887, allocations: 0.634 MB / 414.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3888, allocations: 8.031 kB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/0.3888, allocations: 32.59 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.3893, allocations: 275.5 kB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3893, allocations: 16.81 kB / 415.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.3894, allocations: 28.31 kB / 415.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.3901, allocations: 274.1 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3901, allocations: 0 / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.3902, allocations: 8 kB / 415.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3902, allocations: 8 kB / 415.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.391, allocations: 245.5 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.3927, allocations: 0.9024 MB / 416.7 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.3944, allocations: 439.4 kB / 417.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3947, allocations: 96.72 kB / 417.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.3948, allocations: 4 kB / 417.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.3953, allocations: 161.9 kB / 417.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 4.659e-06/0.3953, allocations: 0 / 417.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.002135/0.3974, allocations: 0.5731 MB / 417.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.3975, allocations: 114.8 kB / 418 MB, free: 8.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.3979, allocations: 266.6 kB / 418.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3979, allocations: 29.7 kB / 418.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3981, allocations: 187.6 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.3981, allocations: 39.55 kB / 418.5 MB, free: 8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.3982, allocations: 45.7 kB / 418.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.3984, allocations: 334.8 kB / 418.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.3987, allocations: 91.92 kB / 419 MB, free: 7.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.3991, allocations: 209.5 kB / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007291/0.3999, allocations: 301.4 kB / 419.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3999, allocations: 4 kB / 419.5 MB, free: 6.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001233/0.4011, allocations: 431.8 kB / 419.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.4012, allocations: 34.08 kB / 420 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4012, allocations: 0 / 420 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.4016, allocations: 64.88 kB / 420 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4018, allocations: 55.89 kB / 420.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.4043, allocations: 1.609 MB / 421.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.4047, allocations: 63.73 kB / 421.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4047, allocations: 8 kB / 421.8 MB, free: 4.508 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.0001677/0.4049, allocations: 145.7 kB / 421.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.405, allocations: 19.75 kB / 421.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.405, allocations: 29.7 kB / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.405, allocations: 0 / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.405, allocations: 0 / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.405, allocations: 0 / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4064, allocations: 0.6434 MB / 422.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4064, allocations: 0 / 422.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.4066, allocations: 39.91 kB / 422.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.4068, allocations: 52.81 kB / 422.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.4068, allocations: 3.938 kB / 422.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.4089, allocations: 1.601 MB / 424.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4089, allocations: 3.984 kB / 424.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4099, allocations: 388 kB / 424.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.41, allocations: 100.8 kB / 424.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.4101, allocations: 12 kB / 424.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.4104, allocations: 31.95 kB / 424.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.4104, allocations: 12.17 kB / 424.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.4105, allocations: 4 kB / 424.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.4107, allocations: 197.9 kB / 425 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4107, allocations: 0 / 425 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004291/0.4111, allocations: 67.84 kB / 425.1 MB, free: 0.918 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.0002207/0.4113, allocations: 103.2 kB / 425.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4125, allocations: 393.9 kB / 425.6 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4125, allocations: 0 / 425.6 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.4129, allocations: 211.2 kB / 425.8 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.4134, allocations: 51.53 kB / 425.8 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.4145, allocations: 427.4 kB / 426.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.4149, allocations: 0.744 MB / 427 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4151, allocations: 26.28 kB / 427 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.4151, allocations: 23.44 kB / 427 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4151, allocations: 0 / 427 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.007848/0.423, allocations: 3.571 MB / 430.6 MB, free: 11.33 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