Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009177/0.0009178, allocations: 94.47 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 179.6 kB / 18.22 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002317, allocations: 11.94 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07345/0.07369, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.002473/0.0762, allocations: 2.425 MB / 354.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.07716, allocations: 0.6624 MB / 355.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.75e-05/0.07727, allocations: 7.938 kB / 355.6 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.07738, allocations: 31.77 kB / 355.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.07755, allocations: 75.44 kB / 355.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.07777, allocations: 75.86 kB / 355.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.07807, allocations: 342.5 kB / 356.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.07823, allocations: 73.02 kB / 356.2 MB, free: 8 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.07837, allocations: 111.5 kB / 356.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.07854, allocations: 135.3 kB / 356.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.07858, allocations: 12 kB / 356.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.07862, allocations: 16 kB / 356.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.07868, allocations: 51.7 kB / 356.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.07881, allocations: 149 kB / 356.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.07902, allocations: 235.6 kB / 356.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.07903, allocations: 4 kB / 356.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.07904, allocations: 0 / 356.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.07905, allocations: 3.938 kB / 356.9 MB, free: 15.3 MB / 302.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.001068/0.08012, allocations: 0.5991 MB / 357.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.08016, allocations: 12.03 kB / 357.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.08023, allocations: 32.55 kB / 357.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.0805, allocations: 263.8 kB / 357.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.08053, allocations: 16.81 kB / 357.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.08058, allocations: 24.38 kB / 357.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.08122, allocations: 294.1 kB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.08124, allocations: 3.938 kB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.08127, allocations: 4 kB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.08129, allocations: 4 kB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.08209, allocations: 277.6 kB / 358.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.08357, allocations: 0.9258 MB / 359.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.08521, allocations: 499.4 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.08557, allocations: 108.7 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.0856, allocations: 8.016 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.08609, allocations: 181.8 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.0861, allocations: 3.938 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.002201/0.08831, allocations: 0.6551 MB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.08838, allocations: 106.8 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.08864, allocations: 266.6 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.08868, allocations: 33.7 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.0888, allocations: 191.5 kB / 361.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.08883, allocations: 27.72 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.08888, allocations: 25.7 kB / 361.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.08898, allocations: 338.8 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.08936, allocations: 107.9 kB / 361.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.08978, allocations: 217.5 kB / 362 MB, free: 9.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.09053, allocations: 328.7 kB / 362.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.09055, allocations: 4 kB / 362.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001264/0.09182, allocations: 467.8 kB / 362.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.09187, allocations: 37.69 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.09188, allocations: 4 kB / 362.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.09218, allocations: 64.89 kB / 362.9 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.09243, allocations: 59.89 kB / 363 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.0944, allocations: 1.53 MB / 364.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.09476, allocations: 63.7 kB / 364.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.09479, allocations: 16.06 kB / 364.6 MB, free: 7.016 MB / 302.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.0001238/0.09492, allocations: 137.7 kB / 364.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.09496, allocations: 19.81 kB / 364.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.09501, allocations: 29.64 kB / 364.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.09502, allocations: 0 / 364.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.09503, allocations: 0 / 364.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.09504, allocations: 0 / 364.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.09641, allocations: 0.6868 MB / 365.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.09642, allocations: 3.938 kB / 365.5 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.09658, allocations: 36 kB / 365.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.09681, allocations: 64.75 kB / 365.6 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.09683, allocations: 4 kB / 365.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.09865, allocations: 1.519 MB / 367.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.09867, allocations: 3.938 kB / 367.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.09976, allocations: 428 kB / 367.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.09983, allocations: 104.8 kB / 367.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.09987, allocations: 0 / 367.6 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1002, allocations: 51.89 kB / 367.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.1002, allocations: 15.98 kB / 367.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1003, allocations: 4 kB / 367.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1004, allocations: 190 kB / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1005, allocations: 0 / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1008, allocations: 63.91 kB / 367.9 MB, free: 3.438 MB / 302.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.0001108/0.1009, allocations: 110.6 kB / 368 MB, free: 3.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.1019, allocations: 414.3 kB / 368.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1019, allocations: 4.25 kB / 368.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1023, allocations: 222.6 kB / 368.7 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1027, allocations: 41.14 kB / 368.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.1036, allocations: 0.5695 MB / 369.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1039, allocations: 0.7443 MB / 370 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.711e-05/0.104, allocations: 19.44 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.104, allocations: 0 / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of Templates: time 0.1322/0.2361, allocations: 4.073 MB / 374.1 MB, free: 24.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches